open-data-certificate
open-data-certificate copied to clipboard
Instructions to load and edit another jurisdiction when running locally in docker
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.)
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.