openaustralia / righttoknow

Theme for, and issues specific to, Right To Know.
https://www.righttoknow.org.au/
MIT License
21 stars 14 forks source link

0.29.0.0 - Multiple Rake commands after deployment #742

Closed benrfairless closed 3 years ago

benrfairless commented 3 years ago

There are some database structure updates so remember to rake db:migrate

Run bundle exec rake temp:remove_line_breaks_from_request_titles after deployment to remove stray line breaks (could effect Atom feeds)

Run bundle exec rake temp:generate_request_summaries after deployment to create the new facade models that the Alaveteli Pro dashboard uses to display all forms of requests in a unified list.

Run bundle exec rake temp:set_use_notifications after deployment to opt all existing requests out of the new notifications feature. This is VERY IMPORTANT to run, as without it, existing requests won't trigger any alert emails at all.