Memo - 2get/designer-training-app GitHub Wiki
Memo
Fork 使わないで自分のリポジトリに clone してきたものを push
git remote remove origin
git remote add origin 自分のリポジトリURL
git push origin master
bundle install で エラーがでた => brew で mysql インストールしていなかった
brew update
brew install mysql
Sqale で公開する
Sqale に公開鍵を登録する
Sqale に push する
git checkout -b sqale
データベースファイル編集
git remote add sqale SqaleリポジトリURL
git push sqale sqale:master
Sqale に接続してDB作る
ssh [email protected] -p2222
ls
cd current
bundle exec rake db:migrate RAILS_ENV=production
/etc/init.d/app restart