Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages