Created
June 22, 2019 07:53
-
-
Save momoseijin/8b70a6e59e24abc9b02bc36f238ebcaa to your computer and use it in GitHub Desktop.
Upadte from Mastodon v2.9.0 to v2.9.1 + commit aa9b37822
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Mastodon を止める | |
systemctl stop mastodon-{web,sidekiq,streaming}.service | |
#Mastodon ユーザになる | |
sudo su - mastodon | |
#Mastodon のディレクトリに戻って v2.9.1 + commit aa9b37822 をもってくる | |
cd ~/live | |
git fetch | |
git checkout aa9b37822 | |
#リリースノートにあるいつものような処理をすすめる | |
bundle install --deployment --without development test | |
yarn install --pure-lockfile | |
RAILS_ENV=production bundle exec rails assets:precompile | |
#root に戻って、Mastodon をリスタートして無事立ち上がれば終了 | |
exit | |
systemctl restart mastodon-{web,sidekiq,streaming}.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment