GitXplorerGitXplorer
b

gh-resume

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
55f9736bf082b7d6cfe4dc0b6913e68cf15eca89

reworked email form

bballou88 committed 12 years ago
Unverified
208f1437cc78a401319f8aac15b5d4b7362dda15

moved bootstrap-sass outside of assets

bballou88 committed 12 years ago
Unverified
a2463dd1f8f85224813b73349e7f18089b7258e5

removed bootstrap js

bballou88 committed 12 years ago
Unverified
04906e797a897083be5b194c41593d6fa383862d

added subscribe checkbox for being notified of new repositories

bballou88 committed 12 years ago
Unverified
45af9a833df68cc22a5607b5abe441a65ad756ce

added letter opener for testing emails

bballou88 committed 12 years ago
Unverified
8b477d4c9317bb0c6deea73db23f2fd752c43f0d

updated title and optimized bg image

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