Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/helpwithcovid/covid-volunteers

Organizing and matching volunteers with COVID-19 projects
https://github.com/helpwithcovid/covid-volunteers

coronavirus covid covid-19 javascript rails ruby tailwindcss

Last synced: about 1 month ago
JSON representation

Organizing and matching volunteers with COVID-19 projects

Lists

README

        

# HelpWith

[![CircleCI](https://circleci.com/gh/helpwithcovid/covid-volunteers.svg?style=shield)](https://circleci.com/gh/helpwithcovid/covid-volunteers)

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

The stack is:

- Ruby on Rails 6.0
- Tailwind CSS
- Postgres

# One-click deploy to Heroku

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

# Running app locally

## Dependencies

- ruby `2.6.3`
- bundler `2.1.4`
- postgres

## Installation

Install and start postgresql:
- On macOS, you can use `pg_ctl -D /usr/local/var/postgres start`
- (To stop postgres use `pg_ctl -D /usr/local/var/postgres stop`)

Install dependencies:

```
bundle install
yarn install
```

Setup the database and seed data:

```
rails db:setup
```

## Configuration

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 |

## Launch app

```
rails server
```

Then go to [http://localhost:3000](http://localhost:3000) to view app.

## Running tests

```
rails spec
```

## Installation

See THEMING.md.

# Contributing

Help is welcome! We are communicating on [Discord](https://discord.gg/8nAJfFN) in the #hwc-com-development channel

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

# License

MIT