The application is deployed in production to Heroku and it's located [here] (https://gryphon-github-intern.herokuapp.com)
- First, you need to install Ruby 2.3.3
- Next, you need to have PostgreSQL installed
- Now, let's install the gems
gem install bundler && rbenv rehash
- You should have PostgreSQL correctly configured
- Run the
setup
script:
script/setup
- Fill out your
.env
file (created byscript/setup
).
ENV Variable | Description |
---|---|
GITHUB_CLIENT_ID |
the GitHub Application Client ID. |
GITHUB_CLIENT_SECRET |
the GitHub Application Client Secret. |
TEST_GITHUB_TOKEN |
The Personal Access Token for the user (only for testing or running the specs) |
You can run the specs with:
script/test
You can run the linters (tools that flags suspicious usage in software written in any computer language) with:
script/linter
You may start the rails server with:
script/server
That's it! You should have a working instance of the project located [here] (http://localhost:3000)