This is a standard Ruby on Rails app that checks to see if a number of desired sections exist - and have content - on the 'Entry requirements' section of each country of within the Foreign travel advice country pages.
These pages are maintained within the Travel Advice Publisher application by the Foreign, Commonwealth & Development Office (FCDO).
The app is intended as a temporary service, so it:
- is intended for use by the GDS Coronavirus team and the FCDO content design team as a means of checking the Foreign Travel Advice 'Entry requirements' section for completeness.
- does not conform to the principles set out in The GDS Way.
- has a deadline of 1st June 2022, beyond this date the application will cease to function.
This is a standard Ruby on Rails app. It's only external dependency is a locally running PostgreSQL database instance.
bundle install
rails db:create
rails db:migrate
rails server
The app will then be available at http://localhost:3000/
Initially, the database will be empty. To populate it, click on the Update
link or run the db:update
rake task.
Clicking on the Completed
link will return a sorted list of completed country slugs (i.e. those countries with all of the required Entry requirements
sections present and containing content).
rails test