-
use
rails --database=postgresql myappto create app -
create postgres role that you want to use
-
in
.envsetPGUSERandPGPASSWORDenv vars -
set up
database.ymlwithoutusernameorpasswordfor 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