The API backend for UK Trade Tariff Web application.
-
ElasticSearch
brew install elasticsearch
-
MySQL
brew install mysql
-
Ruby 1.9.3
Ensure that you have pulled the latest version of the development repo. Run the bootstrap command.
-
Load sections
bundle exec rake db:import
-
Load database snapshot (TariffImporter). TBD
-
Index on ElasticSearch
bundle exec rake environment tire:import CLASS='Section' bundle exec rake environment tire:import CLASS='Chapter' bundle exec rake environment tire:import CLASS='Heading' bundle exec rake environment tire:import CLASS='Commodity'
./startup.sh
- Instructions on how to run the TARIC and CHIEF importers
- How to load pre imported db dumps.
- Rewrite all the mongoid specs to sequel.
- Timezone config
- Background tasks for daily import