Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
db
doc
lib
public
script
spec
vendor
.gitignore
.rbenv-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
jenkins.sh

README.md

TariffWebApp

A web application front end for use with the UK Trade Tariff API

Dependencies

  1. ElasticSearch (Mac OS X using Homebrew):

    brew install elasticsearch
    

Local install/run instructions

  1. Clone repo:

    git clone git@github.com:alphagov/TariffWebApp.git
    
  2. Review database configuration (config/database.yml), create the users.

  3. Setup the database:

    cd TariffWebApp
    bundle exec rake db:setup
    bundle exec rake db:import
    
  4. Run TariffWebApp:

    bundle exec rails s
    

Notes

  • Missing indexes on chapters (section_id) and commodities (chapter_id)
  • No exception notification utility in here yet.
Something went wrong with that request. Please try again.