This repository stores the code for the https://helpwithcovid.com/ website.
The stack is:
2.6.3
2.1.4
Install and start postgresql:
pg_ctl -D /usr/local/var/postgres start
pg_ctl -D /usr/local/var/postgres stop
)Install dependencies:
bundle install
yarn install
Setup the database and seed data:
rails db:setup
The following environment variables can be set:
Environment variable | Type of value | Description |
---|---|---|
ADMINS |
Email addresses separated by a , |
Gives admin permissions to the listed accounts |
EXCEPTION_NOTIFIERS |
Email addresses separated by a , |
Sends technical exceptions to the listed email addresses |
EMAIL_ADDRESS |
Single email address | Used to contact your team |
rails server
Then go to http://localhost:3000 to view app.
rails spec
See THEMING.md.
Help is welcome! We are communicating on Discord in the #hwc-com-development channel
bundle exec rails spec
bundle exec rubocop
(you can run bundle exec rubocop -a
to automatically fix errors)MIT