Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing "get-involved" page locally #2288

Open
chris-gds opened this issue Nov 16, 2021 · 0 comments
Open

Viewing "get-involved" page locally #2288

chris-gds opened this issue Nov 16, 2021 · 0 comments

Comments

@chris-gds
Copy link

chris-gds commented Nov 16, 2021

What

While working on this PR I faced an issue where I was unable to use -app-live to see the get involved page render locally.

Workaround

To render page locally
content-store, search-api, static have to be run in parallel
government-frontend has to be started in -app mode not app-live mode as local data is needed

Recent local data is needed for content-store and search-api - this data has to be pulled from AWS so its gets recent snapshot - eg:
gds aws govuk-integration-poweruser ./bin/replicate-elasticsearch.sh
gds aws govuk-integration-poweruser ./bin/replicate-mongodb.sh content-store

I faced an issue where data from search-api was failing to download correctly from AWS.

The workaround is to delete the parent folder govuk-docker/replication/elasticsearch-6 (this download should now complete)
Once this is done each app has to be re made using make (as the existing containers will still reference old data)


Expectations (once issue resolved)

  • government-frontend uses app-live starts all of the relevant apps in parallel
  • app-live command works as expected and local data isn't a requirement for this particular page to render locally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant