Dixie application for job invoice generation
Getting started
- Run
bundle
. - Copy
.env.sample
to.env
and configure it for your local system. - Copy
config/database.yml.sample
toconfig/database.yml
and configure it for your local system. - Run
rake db:create db:migrate
.
Inventory prices
Whenever pricing information changes do the following steps:
- put updated Excel files into
data/
- update information in
spec/models/excel_inventory_spec.rb
test to reflect the new prices - run
rake load_excel_inventory
to update local prices database (make sure Redis is running first) - run
rspec
to make sure all tests pass - deploy the new code to Heroku
- run
heroku run rake load_excel_inventory
to update prices on production