Last active
December 16, 2015 18:28
-
-
Save wickchucked/5477537 to your computer and use it in GitHub Desktop.
Rails commands
This file contains 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
rails new app-name --skip-test-unit --database=postgresql | |
sudo -u postgres service postgresql stop | |
sudo -u postgres psql | |
# \password | |
# create user blog with password 'secret'; | |
# create database blog_production owner blog; | |
# \q |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment