- Fork and/or clone this repo
- Ensure you have
postgresql
installed and running on localhost - Execute
bundle install --path vendor/bundle
- If you have a problem installing
pg
, try runningsudo env ARCHFLAGS='-arch x86_64' gem install pg
- The
SAMPLE.env
file in the project root should be copied to.env
and edited.
- You can run
cp SAMPLE.env .env
- Populate the
GITHUB_CLIENT_ID
andGITHUB_CLIENT_SECRET
with your own Github App configurations (see INSTRUCTIONS/oauth-configuration.md - The file
.env
is ignored via the.gitignore
file, since it contains these values that should be kept confidential.
- If you are running this for the first time, run
bundle exec rake db:create
- Execute
bundle exec rake db:migrate
- Execute
bundle exec rails s
- The rails server should now be running on http://localhost:3000