Skip to content

djmaze/stargazr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Martin Honermeyer
Mar 5, 2015
f6e9d8e · Mar 5, 2015

History

38 Commits
Dec 30, 2013
Dec 26, 2013
Dec 26, 2013
Dec 26, 2013
Apr 5, 2014
Dec 1, 2014
Dec 30, 2013
Dec 30, 2013
Dec 1, 2014
Dec 30, 2013
Dec 1, 2014
Dec 30, 2013
Dec 30, 2013
Mar 5, 2015
Dec 26, 2013
Dec 26, 2013
Dec 1, 2014
Jan 27, 2014
Dec 1, 2014

Repository files navigation

Join the chat at https://gitter.im/djmaze/stargazr

Prerequisites

  • Ruby 2.0 with bundler installed
  • ArangoDB 1.4 running locally (at port 8529)

Configuration

  • Copy .env.development.sample to .env.development. Adjust the mail settings.
  • Register a new developer application in the application settings at Github. Put the client id and secret in your .env file.

Production works accordingly. Just use .env.production instead.

Running

Run the website (just a boring Sinatra app):

ruby web.rb

Run the notifier (preferably once a day):

ruby notifier.rb

Set RACK_ENV=production to run in the production environment.

Testing email

gem install mailcatcher
mailcatcher

View mails at http://localhost:1080.