ZOMEKI Ver.3.1.12 build-58をリリースしました。

公開日 2017年11月15日

リリース内容

ライブラリのバージョンアップ

  • [zomekiv3-sqr:00792] [その他] logical_query_parser gemをバージョンアップ
  • [zomekiv3-sqr:00800] [その他] nokogiri, rubocop, parallel gemのバージョンアップ

 

更新手順は以下の通りです。

アプリケーションルートディレクトリに移動
$ cd /var/www/zomeki

ソースを更新
$ git pull

ライブラリを更新
$ bundle install

DBを更新
$ bundle exec rake db:migrate RAILS_ENV=production

cronを更新
$ bundle exec whenever --update-crontab

CSS, jsファイル等をコピー(public/_common ->  site/000*/public/_common)
$ bundle exec rake zomeki:maintenance:common_dir:copy RAILS_ENV=production

assetsコンパイルを実行
$ bundle exec rake assets:precompile RAILS_ENV=production

delayed_jobを再起動
$ bundle exec rake delayed_job:restart RAILS_ENV=production

unicornプロセスを再起動
$ kill -USR2 `cat /var/www/zomeki/tmp/pids/unicorn.pid`