Pebble Coding

ソフトウェアエンジニアによるIT技術、数学の備忘録

2018-03-29から1日間の記事一覧

postgres インストール後に行うセットアップ for rails

$ pg_ctl -D /usr/local/var/postgres start && brew services start postgresql $ psql postgres # create role myuser with login password mypass; # alter role myuser createdb; # \q; ruby用の環境変数 DATABASE_URL=postgres://myuser:mypass@{hostna…