Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1006 Bytes

README.md

File metadata and controls

32 lines (18 loc) · 1006 Bytes

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.