Since the production guide on GitHub is outdated, I’m not quite sure how to migrate an instance.
Is it just matter of following the installation guide, copying the system folder, running
psql mastodon_production < dump.sql as postgres user and then instead of
RAILS_ENV=production bundle exec rake mastodon:setup copying the .env.production file and running
RAILS_ENV=production bundle exec rails assets:precompile and
RAILS_ENV=production bin/tootctl feeds build ?