Skip to content

bobanj/GetCredible

Repository files navigation

givebrand.com

Development notes

Setup

* gem install bundler
* bundle install

Rake Tasks

* rake calculate_score              # Calculates Score in the system
* rake givebrand:redis:clean        # Cleans redis data for Tag and UserTag
* rake givebrand:redis:purge        # Cleans all redis data
* rake givebrand:redis:recalculate  # Recalculates the number of incoming and outgoing votes counters for user tag
* rake givebrand:redis:autocomplete # Makes tags available for autocomplete

Resque Workers

foreman start

or:

QUEUE=import_contacts bundle exec rake environment resque:work

Known issues

* In development environment twitter invite message is longer than 140 character and you'll get an error when trying to send invitation.

Env variables for heroku

* DATABASE_URL
* RAILS_ENV
* REDISTOGO_URL
* S3_BUCKET_NAME
* S3_KEY
* S3_SECRET
* SENDGRID_PASSWORD
* SENDGRID_USERNAME
* SHARED_DATABASE_URL
* TWITTER_CONSUMER_KEY
* TWITTER_CONSUMER_SECRET
* TWITTER_CONSUMER_SECRET
* MIXPANEL_TOKEN

About

SourceCode from www.givebrand.com once upon a startup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published