https://github.com/trailblazer/tamarama
The stack we fancy: Sinatra/Grape, Trailblazer, Cells and Sequel.
https://github.com/trailblazer/tamarama
Last synced: 4 months ago
JSON representation
The stack we fancy: Sinatra/Grape, Trailblazer, Cells and Sequel.
- Host: GitHub
- URL: https://github.com/trailblazer/tamarama
- Owner: trailblazer
- Created: 2016-07-28T15:54:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-29T13:13:08.000Z (about 8 years ago)
- Last Synced: 2025-06-17T04:06:22.190Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 19.5 KB
- Stars: 13
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
Awesome Lists containing this project
README
## 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.
```ruby
# .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
```