git fetch origin master
↓
git reset --hard origin/master(強制的にpullする)
↓
EC2インスタンス再起動(これをしないとunicornの起動時にエラー)
↓
unicorn_rails -c /var/www/rails/mumu(アプリの名前)/config/unicorn.conf.rb -D -E production(unicornの起動)
↓
sudo nginx -s reload(Nginxの再起動)
↓
sudo service mysqld start(mysqlを起動していなかったら)
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme