Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
/ readyreckoner.ca Public archive

Broadly estimate the revenue impacts of changes to the federal tax system

License

Notifications You must be signed in to change notification settings

opennorth/readyreckoner.ca

Repository files navigation

Ready Reckoner

Build Status Dependency Status Coverage Status Code Climate

Development

bundle

Generating the theme

From the Bootswatch docs:

git clone https://github.com/thomaspark/bootswatch.git
cd bootswatch
npm install

Edit bower_components/bootstrap/less/bootstrap.less by commenting out:

  • code
  • forms
  • all components except:
    • navs
    • alerts
    • tooltips
    • popovers

Run:

grunt swatch:lumen

Copy lumen/bootstrap.min.css to app/assets/stylesheets and change ../fonts to fonts.

Deployment

Heroku

heroku apps:create
heroku addons:add pgbackups:auto-month
heroku addons:add rediscloud
heroku addons:add sendgrid

heroku config:set SECRET_KEY_BASE=`bundle exec rake secret`
heroku config:set ACTION_MAILER_HOST=www.readyreckoner.ca
heroku config:set DEVISE_MAILER_SENDER=noreply@readyreckoner.ca
heroku config:set REDIS_URL=`heroku config:get REDISCLOUD_URL`

In config/environments/production.rb:

config.action_mailer.smtp_settings = {
  address: 'smtp.sendgrid.net',
  port: '587',
  authentication: :plain,
  user_name: ENV['SENDGRID_USERNAME'],
  password: ENV['SENDGRID_PASSWORD'],
  domain: 'heroku.com',
  enable_starttls_auto: true
}

Bugs? Questions?

This repository is on GitHub: http://github.com/opennorth/readyreckoner.ca, where your contributions, forks, bug reports, feature requests, and feedback are greatly welcomed.

Copyright (c) 2014 Open North Inc., released under the MIT license

About

Broadly estimate the revenue impacts of changes to the federal tax system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published