/feedadoc

Primary LanguageRubyMIT LicenseMIT

FeedADoc.com

This website connects healthcare workers (docs, nurses, specialists, support staff) with volunteers who can provide basic needs during the COVID-19 pandemic response. Please share with anyone you know who needs assistance or can provide it!

This project is the upcoming rebuild of FeedADoc.com, which is currently using Google Sites.

We'd love your help! Please see the project for a prioritized list of issues (tasks).

Tech Stack

Development

The below steps assume you've forked and cloned the repo to your local machine.

With Docker

  1. docker-compose up -d
  2. docker-compose run web rails db:migrate db:create
  3. Visit http://localhost:3000

Running Ruby and Postgres locally

  1. Use psql to create a PG user called feedadoc. (We assume you have postgresql installed, on OS X you can use brew to install it or run Postgres.app.)

     CREATE USER feedadoc WITH SUPERUSER PASSWORD 'password1';
    
  2. Install Ruby v2.7.0 (see .ruby-version; also, we recommend rvm to manage ruby versions.)

  3. Run bundle

  4. Install Yarn (On OS X: brew install yarn)

  5. Run yarn

  6. Run rails db:create db:migrate

  7. In one Terminal window, run bin/webpack-dev-server. In a second window, run rails s.

  8. Visit http://localhost:3000