Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 697 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 697 Bytes

Synchronizing Galgo Data


Sinatra ActiveRecord Extension - github/sinatra-activerecod

  • The Rails console equivalent for Sinatra:
bundle exec irb -I. -r server.rb
require 'sinatra/activerecord'
require './app/models/dogs'
  • Running the Server To start the server in development mode, use the following command:
RACK_ENV=development ruby server.rb
  • Accessing the Application Once the server is running, you can access the application in your web browser at
http://localhost:4567
http://localhost:4567/health
http://localhost:4567/dogs'
http://localhost:4567/next_racings