Skip to content

dmitry-matveyev/roda_sequel_rspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roda-sequel-stack is an application skeleton for an app using Roda as the web framework, and Sequel as the database library, Rspec as test suite.

By default sqlite database is used. Check sequel plugin to change it for postgresql. Database connection is defined in .env.rb.

You can start the application using rackup or similar program.

Setup

  • bundle install

Migrate

  • rake dev_up # Migrate the development database up

  • rake test_up # Migrate the test database up

  • rake prod_up # Migrate the production database up

Console

  • rake dev_irb # IRB shell with models connected to the development database

  • rake test_irb # IRB shell with models connected to the test database

  • rake prod_irb # IRB shell with models connected to the production database

Specs

  • rake test_up

  • rspec

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages