諸行無常

IT色々お勉強中のブログ

2016-05-01から1ヶ月間の記事一覧

新規railsアプリ作成 postgres編

hogehogeアプリを作成 mkdir hogehoge cd hogehoge echo 2.2.4 > .ruby-version ruby -v rbenv local 2.2.4 ll -a rbenv versions gem install bundler rbenv gemset list rbenv gemset create 2.2.4 hoge echo >.rbenv-gemsets hoge ll -a bundle init vim …

rails routesの考え方

routesの基本 akkunchoi.github.io railsguides.jp

postgres

admins-MacBook-Pro% initdb /usr/local/var/postgres -E utf8 The files belonging to this database system will be owned by user "hoge". This user must also own the server process. The database cluster will be initialized with locale "ja_JP.UT…