Skip to content
A web application front end for use with the UK Trade Tariff API
Ruby HTML CSS JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
coverage
db
doc
lib
public
script
spec
vendor
.codeclimate.yml
.gitignore
.ruby-version
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Gemfile
Gemfile.lock
LICENCE.md
README.md
Rakefile
config.ru
jenkins.sh
startup.sh

README.md

Build Status

TradeTariffFrontend

A web application front end for:

This application requires the trade tariff backend API to be running.

Assumes the GDS development environment is setup via puppet.

Running TradeTariffFrontend

(ensure trade-tariff-backend is running)
./startup.sh

Running TradeTariffFrontend (bowl)

from development:

  `bowl tradetariff`

after bowling, the app will be available at:

http://tariff.dev.gov.uk/trade-tariff

Data

Trade Tariff's database is one of the largest we have. For this reason it is excluded from the data replication script we have in development.

In order to download the database dump, you will need to edit the common-args.sh:

- Remove `tariff`, `tariff_temporal` and `tariff_demo` from the IGNORE string
- Run the replicate-data-local.sh script

Running the test suite

To run the spec use the following command:

RAILS_ENV=test bundle exec rake
Something went wrong with that request. Please try again.