GitXplorerGitXplorer
b

gh-resume

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
9f1043b5037750772d67f9ce4287b0b5a52915b0

updated readme

bballou88 committed 12 years ago
Unverified
0ae4a72b5ad7828f06139b045a2e0faa1cd631d0

added readme

bballou88 committed 12 years ago
Unverified
951798779ffd88864c9992d562abec09efee444e

Merge branch 'subscribe'

bballou88 committed 12 years ago
Unverified
7b8bc703697d8dd2dad01d3f8880850c21a206fd

added subscription checker with a rake task to send out the emails

bballou88 committed 12 years ago
Unverified
b53218258103f7166e0a7143d712ec9d189d8b13

added ability to add listeners

bballou88 committed 12 years ago
Unverified
f170c39cea33788f581ddc82820a14a5c5d7a8d1

fixed copy for email form

bballou88 committed 12 years ago

README

The README file for this repository.

GH Resume

I currently have the application running on heroku at http://gh-resume.herokuapp.com/. The emails are sent out on an hourly basis via the heroku scheduler. Additionally the listener emails are sent out daily via the scheuler also.

To install the application you will need postgresql and ruby 1.9.3+

To run locally, run:

bundle install
rake db:create && db:migrate

Set the environment variables in the .env file, like below:

SENDGRID_USERNAME=username
SENDGRID_PASSWORD=password
GH_LOGIN=github_login
GH_PASSWORD=github_password

To run on heroku run:

heroku create
git push heroku master
heroku run rake db:migrate
heroku config:add SENDGRID_USERNAME=username SENDGRID_PASSWORD=password GH_LOGIN=github_login GH_PASSWORD=github_password

This will run the primary app, but the mailer is handled by delayed job which requires running a rake task.

After signing up for emails and update requests you can run the mailers via rake:

Locally

rake jobs:work
rake subscriptions:send_emails

Heroku

heroku run rake jobs:work
heroku run rake subscriptions:send_emails