Now maintained at https://github.com/bitzesty/trade-tariff-frontend
https://www.trade-tariff.service.gov.uk/trade-tariff/sections
This is the front-end application for:
This application requires the Trade Tariff Backend API to be running and the following env variable set TARIFF_API_HOST
.
Requires:
- Ruby
- Rails
Uses:
- Memcache
Commands:
./bin/setup
foreman start
To run the spec use the following command:
RAILS_ENV=test bundle exec rake
We deploy to cloud foundry, so you need to have the CLI installed, and the following cf plugin installed:
Download the plugin for your os: https://github.com/contraband/autopilot/releases
chmod +x autopilot-(YOUR_OS)
cf install-plugin autopilot-(YOUR_OS)
Set the following ENV variables:
- CF_USER
- CF_PASSWORD
- CF_ORG
- CF_SPACE
- CF_APP
- SLACK_CHANNEL
- SLACK_WEBHOOK
Then run
./bin/deploy