Skip to content

nsnsp/schedule

Repository files navigation

NSNSP

CodeQL Stack Share

The official website of Northstar National Ski Patrol.

TODO

Clean up daily email notifications

  • move CommitmentsController::notify_day into a rake task
  • modify Heroku Scheduler to run the rake task rather than curl a magic URL
  • modify Dead Man's Snitch to receive ping from their Ruby gem rather than curl
  • clean up: get rid of the magic URL, temporatize plugin and config token, etc.

Notes

September 30, 2024 Update

  • Updated Heroku stack from 22 to 24
  • Updated Ruby from 3.3.0 to 3.3.5
  • Updated Rails from 7.1.3 to 7.2.1

January, 2022 Update

  • Updated Heroku from buildpack 18 to 20
  • Updated Ruby from 2.6 to 2.7
  • Updated Rails from 4.2 to 5.2

Dev

  • Works, but auth broken.
  • If blowing away Gemfile.lock to recreate, do this after bundle install: bundle lock --add-platform x86_64-linux

Deployment

  • production: manual deploy in Heroku
  • staging: push to main

Running migrations: heroku run -a nsnsp rake --trace db:migrate

Setting up a fresh database: heroku run rake db:schema:load