View Code? Open in Web Editor
NEW
This project forked from aheadaviation/rails-app
Ruby 74.22%
JavaScript 2.36%
CoffeeScript 0.84%
CSS 4.34%
HTML 18.23%
rails-app's Introduction
bundle install
- Need a Postgres DB
a.
docker run --rm -d -p 5432:5432 -e POSTGRES_USER=rails -e POSTGRES_PASSWORD=password postgres
- DB Credential Env Var
a.
export POSTGRES_PASSWORD=password
- Create databases
a.
rake db:create
- Generate DB migration
a.
rake db:migrate
bundle exec passenger start
- http://0.0.0.0:3000
- Ctrl-C
- POSTGRES_USERNAME (default: rails)
- POSTGRES_PASSWORD (default: not set)
- POSTGRES_HOST (default: localhost)
rails-app's People
Contributors
Watchers