When you get the We're sorry, but something went wrong page, run heroku logs in your terminal to find a log of Heroku output. If you scroll through it, you will be able to find the error message that rendered the page.
To edit the database from the command line, run heroku run rails c. Be careful, as anything you do here will alter the actual database of OSCA Hub.
Must be done at the beginning of every semester:
Update app/models/coop.rb with all of the current contact information on elected positions
Update app/views/workcharts/desktop_view and app/views/workcharts/desktop_view with all the new links to new regular and special meal workcharts
Update app/views/save_plates/desktop_view and app/views/save_plates/desktop_view with all the new links to new save plates charts
Update app/views/static_pages/home/_links.html.erb with all the new links to Food Buyer Forms and Tasty Things Requests
Must be done at the end of every school year:
Be extremely careful with these commands and make sure that you are ready to rid OSCA Hub of all of its data before running them. The steps below will destroy all user accounts on OSCA Hub, and all of their dependencies, including Announcements, Comments, Menus, Sub Requests, and Discussions.
Getting Started with OSCA Hub
...
Debugging on Heroku
We're sorry, but something went wrong
page, runheroku logs
in your terminal to find a log of Heroku output. If you scroll through it, you will be able to find the error message that rendered the page.heroku run rails c
. Be careful, as anything you do here will alter the actual database of OSCA Hub.Must be done at the beginning of every semester:
app/models/coop.rb
with all of the current contact information on elected positionsapp/views/workcharts/desktop_view
andapp/views/workcharts/desktop_view
with all the new links to new regular and special meal workchartsapp/views/save_plates/desktop_view
andapp/views/save_plates/desktop_view
with all the new links to new save plates chartsapp/views/static_pages/home/_links.html.erb
with all the new links to Food Buyer Forms and Tasty Things RequestsMust be done at the end of every school year: