sydevs / WeMeditate

International website promoting the practice of meditation, with online resources and free local classes.
https://www.wemeditate.com
5 stars 7 forks source link

Housekeeping #149

Closed dbackeus closed 2 years ago

dbackeus commented 2 years ago

I was originally intending to maybe do something about the Cloudflare caching. But noticed a lot of issues when getting dev / test environment up and running on a new computer and decided to do something about it.

See individual commits for details.

Regarding the Gem upgrades which are fairly extensive I did go through most of the changelogs for affected gems to ensure no breaking changes. I also avoided some gems which would require more diligence to get upgraded. The ones which are here may still require some manual testing though.

Also even after getting the seeds etc to complete successfully I am seeing some issues with unsupported block types, eg:

Screenshot 2022-05-12 at 18 11 45 Screenshot 2022-05-12 at 18 11 37

So there is still some work to be done.

Ardnived commented 2 years ago

rails_serve_static_assets is no longer needed for Heroku? It definitely was when I first set up the project.

It's great that you've cleared up some of the gem clutter, maybe that will help us bring the slug size down below Heroku's soft limit (where somewhere around 325MB out of 300MB)

dbackeus commented 2 years ago

rails_serve_static_assets is no longer needed for Heroku?

Not needed since Rails 6 + this convention: https://github.com/sydevs/WeMeditate/blob/master/config/environments/production.rb#L23-L23