cd /var/www/pix.v5
git pull
bundle install

rake db:migrate:status
#mysql -vv -e "INSERT INTO schema_migrations (version) VALUES ('20220705135414'); INSERT INTO schema_migrations (version) VALUES ('20220705135415');"

rake db:migrate
rake assets:precompile
# (can be done each time, do nothing if no new parameter)
RAILS_ENV=production rails parameters:init:import

touch tmp/restart.txt

