Skip to content

Web application template using Ruby Sinatra, ActiveRecord and RSpec with Capybara

Notifications You must be signed in to change notification settings

SimoneAlbertini/sinatra-activerecord-app-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sinatra-activerecord-app-template

Template for web application based upon Ruby Sinatra featuring:

  • ActiveRecord with sqlite3
  • RSpec
  • Capybara with racktest driver
  • Test environment already configured

Bootstrap

Setup the database (the current database is sqlite3)

> bundle install
> rake db:create
> rake db:migrate

Run the tests (and setup the test DB)

> rake test

Start the application

> rackup -p 9999

Project console

> rake console

to open a pry console with the project environment loaded

About

Web application template using Ruby Sinatra, ActiveRecord and RSpec with Capybara

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages