Home

Awesome

HelpWith

CircleCI

This repository stores the code for the https://helpwithcovid.com/ website.

The stack is:

One-click deploy to Heroku

Deploy

Running app locally

Dependencies

Installation

Install and start postgresql:

Install dependencies:

bundle install
yarn install

Setup the database and seed data:

rails db:setup

Configuration

The following environment variables can be set:

Environment variableType of valueDescription
ADMINSEmail addresses separated by a ,Gives admin permissions to the listed accounts
EXCEPTION_NOTIFIERSEmail addresses separated by a ,Sends technical exceptions to the listed email addresses
EMAIL_ADDRESSSingle email addressUsed to contact your team

Launch app

rails server

Then go to http://localhost:3000 to view app.

Running tests

rails spec

Installation

See THEMING.md.

Contributing

Help is welcome! We are communicating on Discord in the #hwc-com-development channel

  1. Fork the project
  2. Create a branch with your changes
  3. Make sure all test are passing by running bundle exec rails spec
  4. Make sure rubocop is happy by running bundle exec rubocop (you can run bundle exec rubocop -a to automatically fix errors)
  5. Submit a pull request

License

MIT