Skip to content

Commit

Permalink
Update README.md for ICU4C demos
Browse files Browse the repository at this point in the history
Fixing to point to new location of the project under goog-unicode-dev. Also update instructions in authentication.
  • Loading branch information
sven-oly authored Nov 14, 2023
1 parent daa09c5 commit 764de5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions icu4jweb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ Note that this does not rebuild the demos, but just creates a new docker image f
- Verify that each demo program works [Run latest docker image](http://127.0.0.1:8083/icu4jweb/).

# Deploy to [public demo](https://icu4j-demos.unicode.org/icu4jweb/)
To publish the demos, one needs access to the Google Cloud [ICU4C demos project](https://console.cloud.google.com/run/deploy/us-central1/icu4jweb?project=icu4c-demos).
To publish the demos, one needs access to the Google Cloud [ICU4C demos project]([https://pantheon.corp.google.com/run?project=goog-unicode-dev](https://pantheon.corp.google.com/run/deploy/us-central1/icu4j-demos?project=goog-unicode-dev)).

- First, make sure that the demos work locally in the previous step.
- Rebuild the docker image, tagging it appropriately.
- Edit build-deploy.sh, replacing "latest" with the release such as "71.1".
- Suggestion: Update the script to get the release as a command line parameter.
- `sh build-deploy.sh`. Expect a final line such as:
- "Successfully tagged gcr.io/icu4c-demos/icu4jweb:latest"
- "Successfully tagged us-central1-docker.pkg.dev/goog-unicode-dev/unicode-jsps/icu4c-demos:icu4c_74_1"
- Next, authenticate with gcloud:
- `gcloud auth configure-docker`
- `gcloud auth configure-docker us-central1-docker.pkg.dev`
- Edit push-deploy.sh, replacing "latest" with the tag used in build-deploy.sh.
- Now push the tagged image to the GCloud:
- `sh push-deploy.sh`
Expand Down

0 comments on commit 764de5b

Please sign in to comment.