mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Prevent people from pulling master in production (#71)
This commit is contained in:
parent
9c1972673a
commit
a893d018ba
@ -272,7 +272,7 @@ RAILS_ENV=production
|
||||
|
||||
## Things to look out for when upgrading Mastodon
|
||||
|
||||
You can upgrade Mastodon with a `git pull` from the repository directory. You may need to run:
|
||||
You can upgrade Mastodon with a `git fetch; git checkout $(git tag | tail -n 1)` from the repository directory. You may need to run:
|
||||
|
||||
- `RAILS_ENV=production bundle exec rails db:migrate`
|
||||
- `RAILS_ENV=production bundle exec rails assets:precompile`
|
||||
|
Loading…
x
Reference in New Issue
Block a user