You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 parallelgovernment-frontend
has to be started in-app
mode notapp-live
mode as local data is neededRecent local data is needed for
content-store
andsearch-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
usesapp-live
starts all of the relevant apps in parallelapp-live
command works as expected and local data isn't a requirement for this particular page to render locally.The text was updated successfully, but these errors were encountered: