- Ruby 3.2
- Rails 7.0
- NodeJS & Yarn
Make sure you install and enable all pre-commit hooks https://pre-commit.com/
Make sure you install and enable all pre-commit hooks https://pre-commit.com/
- Run
bin/setup
- Followed by
bin/rails s
- Navigate to http://localhost:3002
- Rails 7.0 with Webpacker
- GOV.UK Frontend
- RSpec
- Dotenv (managing environment variables)
bundle exec rspec
You'll need:
- Working Docker environment
- Docker-compose installed
- Clone this repo and change to it's root directory
- Run
docker-compose up
- Open your browser to
http://0.0.0.0:3000/duty-calculator/ping
to verify it's running. - Start the journey with the commodity ID you want to test (It uses the dev environment API by default)
e.g http://0.0.0.0:3000/duty-calculator/uk/9620001000/import-date