Last active
October 25, 2015 11:05
-
-
Save the-teacher/581cd845a4fc8ed45d4b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
passwd root | |
passwd rails | |
su - postgres | |
createdb -E UTF8 -O rails qoob_backend_prod | |
createdb -E UTF8 -O rails qoob_backend_stage | |
psql | |
GRANT ALL PRIVILEGES ON DATABASE qoob_backend_prod TO rails; | |
GRANT ALL PRIVILEGES ON DATABASE qoob_backend_stage TO rails; | |
ALTER USER rails WITH PASSWORD 'PASSWORD'; | |
\du |
Author
the-teacher
commented
Oct 25, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment