-
use
rails --database=postgresql myapp
to create app -
create postgres role that you want to use
-
in
.env
setPGUSER
andPGPASSWORD
env vars -
set up
database.yml
withoutusername
orpassword
for test and devel. -
use
foreman
-
create database:
foreman run rake db:create
Last active
December 18, 2015 03:29
-
-
Save jamesadney/5719052 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment