Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Enabling the population and distribution via API of UK Customs tariffs and duties
Ruby Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
data
db
lib
log
public
script
spec
vendor
.gitignore
.travis.yml
Gemfile
Gemfile.lock
Guardfile
LICENCE.txt
README.md
Rakefile
config.ru
jenkins.sh
startup.sh

README.md

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:
  2. Apply updates

    bundle exec rake tariff:sync:apply
    

TODO

  • Timezone config
Something went wrong with that request. Please try again.