Skip to content

The stack we fancy: Sinatra/Grape, Trailblazer, Cells and Sequel.

Notifications You must be signed in to change notification settings

trailblazer/tamarama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configuration

Tamarama uses the dotenv gem for managing environment variables such as database connection strings.

For you, this boils down to providing .env.development and .env.test files in the project root. Check out example.env.test for an example of what such a config file might look like.

# .env.test
DATABASE_URL="postgres://user:password@localhost/myblog_test"

Migrations

RACK_ENV=test rake db:migrate
RACK_ENV=test rake db:migrate[0]

Testing Connection

RACK_ENV=test rake db:debug

About

The stack we fancy: Sinatra/Grape, Trailblazer, Cells and Sequel.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages