engaging-computing / rSENSE

A data aggregation and visualization tool for classroom science
10 stars 48 forks source link

2024-02-08 - nat | enable production mode for server #2925

Closed e-shrdlu closed 5 months ago

e-shrdlu commented 6 months ago

NOTE: it may be required to run RAILS_ENV=production bundle exec rake assets:precompile to precompile assets before starting the server.

I added a section to the config/application.rb to load environment variables (including RAILS_ENV and RACK_ENV, which can be set to 'production') from the new environment-variables.yml file I made.

Then contents of environment-variables.yml is not available on this GitHub for security reasons.