Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Latest commit

 

History

History
52 lines (32 loc) · 1.89 KB

README.md

File metadata and controls

52 lines (32 loc) · 1.89 KB

Foreign Travel Content Checker

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.

Screenshot

Technical documentation

Installing dependencies

This is a standard Ruby on Rails app. It's only external dependency is a locally running PostgreSQL database instance.

bundle install

Create the database

rails db:create
rails db:migrate

Run the app

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).

Testing the app

rails test

Licence

MIT License