Skip to content

Commit

Permalink
docs(readme): update
Browse files Browse the repository at this point in the history
docker prereq, extend-helper-cli command, repo uri
  • Loading branch information
dhanarab committed Feb 12, 2024
1 parent 874312f commit 0fb0586
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ flow properly when the app is deployed.

b. make

c. docker v23.x
c. [docker v23.x](https://docs.docker.com/engine/install/ubuntu/)

d. go v1.20

Expand Down Expand Up @@ -171,18 +171,19 @@ will be accessible at http://localhost:3000.

After done testing, you may want to deploy this app to `AccelByte Gaming Services`.

1. [Create a new Extend Service Extension App on Admin Portal](https://docs.accelbyte.io/gaming-services/services/extend/service-extension/getting-started-service-extension/#register-and-integrate-custom-service-to-extend-service-extension). Keep the `Repository Url`.
1. [Create a new Extend Service Extension App on Admin Portal](https://docs.accelbyte.io/gaming-services/services/extend/service-extension/getting-started-service-extension/#register-and-integrate-custom-service-to-extend-service-extension). Keep the `Repository URI`.
2. Download and setup [extend-helper-cli](https://github.com/AccelByte/extend-helper-cli/) (only if it has not been done previously).
3. Perform docker login using `extend-helper-cli` using the following command.
3. Perform docker login with `extend-helper-cli` using the following command.
```
extend-helper-cli dockerlogin --namespace my-game --app my-app --login
extend-helper-cli dockerlogin --namespace <my-game> --app <my-app> --login
```
> :exclamation: More information about [extend-helper-cli](https://github.com/AccelByte/extend-helper-cli/) is available [here](https://github.com/AccelByte/extend-helper-cli/blob/master/README.md).
> :exclamation: For your convenience, the above `extend-helper-cli` command can also be
copied from `Repository Authentication Command` under the corresponding app detail page.
4. Build and push sample app docker image to AccelByte ECR using the following command.
```
make imagex_push REPO_URL=xxxxxxxxxx.dkr.ecr.us-west-2.amazonaws.com/accelbyte/justice/development/extend/xxxxxxxxxx/xxxxxxxxxx IMAGE_TAG=v0.0.1
make imagex_push IMAGE_TAG=v0.0.1 REPO_URL=xxxxxxxxxx.dkr.ecr.us-west-2.amazonaws.com/accelbyte/justice/development/extend/xxxxxxxxxx/xxxxxxxxxx
```
> :exclamation: **The REPO_URL is obtained from step 1**: It can be found under 'Repository Url' in the app detail.
> :exclamation: **The REPO_URL is obtained from step 1**: It can be found under 'Repository URI' in the app detail.
## Additional

Expand Down

0 comments on commit 0fb0586

Please sign in to comment.