Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.2 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.2 KB

Associate Tracker - Main Branch

Associate Tracker (Ruby on Rails SaaS app) to track leasing representatives for property development projects. Devise user auth. Leaflet.js for mapping.

If cloning this realize a couple of things:

-it's using sendgrid for sign-up email confirmations (.baschrc)
export SENDGRID_USERNAME=xxxxxxxxxx
export SENDGRID_PASSWORD=xxxxxxxxxx

-send grid port (config/environment.rb) :port => '587' for heroku sign-ups :port => '2587' for Cloud9 sign-ups

-it uses AWS for file storage - just needs an S3 bucket and credentials
$ heroku config:set S3_ACCESS_KEY=xxxxxxxxxxxxxxxxxx
$ heroku config:set S3_SECRET_KEY=xxxxxxxxxxxxxxxxxx
$ heroku config:set S3_BUCKET=xxxxxxxxxxxxxxxxxx

-config/environments/development.rb and production has something that needs to be addressed:

development:
config.action_mailer.default_url_options = { :host => 'hxxp://asdf-associate-tracker-jxxxxxxxxxxxer.c9users.io'}

production:
config.action_mailer.default_url_options = { :host => 'asdf-associate-tracker.herokuapp.com', :protocol => 'https'}

-config/initializers/devise.rb - where the email notifications are coming from:
config.mailer_sender = '[email protected]'