This is the Ruby on Rails API for the Ember Collective. Ember Collective is an educational resource for anti-racism and supporting the Black Lives Matter movement. You can browse non-profit organizations to support, interact with the Police Brutality Tracker, and send donation match challenges to other users.
To get started, you will need Ruby on Rails and Postgres.
-
Install Homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" -
Install Ruby
$ brew install ruby -
Install Rails
$ gem install rails -
Install PostgreSQL
$ brew install postgresql
-
Clone the repo and cd into the folder
-
Bundle Install
$ bundle install -
Create migrations, migrate and seed:
$ rails db:create $ rails db:migrate $ rails db:seed -
Last step, launch the rails server!
$ rails s