Skip to content

Instantly share code, notes, and snippets.

@wickchucked
Last active December 16, 2015 18:28
Show Gist options
  • Save wickchucked/5477537 to your computer and use it in GitHub Desktop.
Save wickchucked/5477537 to your computer and use it in GitHub Desktop.
Rails commands
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