The application that runs https://bostonsleep.org. Using Rails 6.0+ and Ruby 2.6+.
Edit Cron Jobs sudo crontab -e
to run the tasks
Refreshing Sitemap
SHELL=/bin/bash
0 1 * * * source /etc/profile.d/rvm.sh && cd /var/www/bostonsleep.org && rvm 2.6.3 && rails sitemap:refresh RAILS_ENV=production
Boston Sleep is released under the MIT License.