open-data-certificate icon indicating copy to clipboard operation
open-data-certificate copied to clipboard

Instructions to load and edit another jurisdiction when running locally in docker

Open Stephen-Gates opened this issue 9 years ago • 1 comments

I have certificates running locally on my mac in Docker following the instructions in README.md in Staging. This only loads the UK survey.

How do I load another jurisdiction?

Then, assuming I do edits to the legal portion of the questionnaire for a jurisdiction (e.g. /prototype/jurisdiction/certificate.AU.xml), how do I implement those changes in a docker environment? (I tried following these instructions but couldn't execute due to missing components.)

Stephen-Gates avatar May 28 '16 23:05 Stephen-Gates

You need to add a line to surveys/translations/jurisdiction_languages.yml saying AU: [en]

And then docker-compose run web bundle exec rake surveyor:build_changed_survey FILE=surveys/generated/surveyor/odc_questionnaire.AU.rb should build the right survey and load it into the dev environment.

I'm chasing down why this didn't happen properly with the default tasks.

Floppy avatar Jul 19 '16 10:07 Floppy