Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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.

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.