Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

Latest commit

 

History

History
56 lines (34 loc) · 1.11 KB

README.md

File metadata and controls

56 lines (34 loc) · 1.11 KB

Build Status

TradeTariffBackend

The API backend for TradeTariffFrontend application

If using gov.uk development puppet repo

Ensure that you have pulled the latest version of the development repo. Run the bootstrap command.

Dependencies (OS X using Homebrew)

  1. ElasticSearch & MySQL

    brew install elasticsearch
    brew install mysql
    
  2. Ruby 1.9.3

Setup TradeTariffBackend

Check out wiki article on the subject.

Run TradeTariffBackend

./startup.sh

Performing daily updates

  1. Create config/trade_tariff_backend_secrets.yml file with correct values.
sync_username:
sync_password:
sync_host:
sync_email:
  1. Apply updates

    bundle exec rake tariff:sync:apply
    

Notes

  • Project does not contain schema.rb, do not use rake db:schema:load. Sequel does not yet support view creation via schema file.

TODO

  • Timezone config