summasmiff / girtib-treller

Trawl through your Github commits.

Home Page:https://girtib-treller.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

girtib-treller

Screenshot

How to Run Locally

Register a Github application. For local development, set its 'Authorization callback URL' to http://localhost:5000/auth/github/callback For deployment, its callback URL will be whatever your host is plus /auth/github/callback

cp env.sh.example env.sh
cp app/scripts/config.json.example app/scripts/config.json

Update env.sh to fill in the client ID from your new Github app as well as your client secret. You also need a session key in env.sh; you can run openssl rand -base64 40 to generate a random session key.

bundle install
npm install
foreman start -f Procfile.dev

Visit localhost:3001 in your browser.

How to Deploy to Heroku

First Time

  1. Create a new app on Heroku.
  2. git remote add heroku git@heroku.com:yourherokuapp.git
  3. heroku config:add BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-ruby.git
  4. heroku config:set RACK_ENV=production
  5. heroku config:set GITHUB_CLIENT_ID=your_github_app_client_id
  6. heroku config:set GITHUB_CLIENT_SECRET=your_github_app_client_secret
  7. heroku config:set SESSION_KEY="your_session_key"
  8. heroku config:set FRONT_END_URL=url_to_your_heroku_app
  9. git push heroku master
  10. heroku ps:scale web=1

After It Has Been Deployed Once

./deploy.sh

Ermagerd

About

Trawl through your Github commits.

https://girtib-treller.herokuapp.com

License:MIT License


Languages

Language:JavaScript 68.3%Language:CSS 30.5%Language:HTML 0.7%Language:Ruby 0.5%Language:Shell 0.0%