Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit 6eb248a

Browse files
committed
Update README and scripts
1 parent f0b31c3 commit 6eb248a

15 files changed

Lines changed: 101 additions & 58 deletions

.DS_Store

0 Bytes
Binary file not shown.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,12 @@ To register the deployed rooms in the cluster, you will need to use the UI of yo
302302
* `kubectl delete -f core`
303303
* To delete everything:
304304
* `kubectl delete svc,deploy,pvc -l app=gameon`
305+
* `kubectl delete pod setup`
305306
* `kubectl delete pv local-volume-1`
306307

307308
## References
308309

309-
* [GameOn](https://gameontext.org) - The original game on app. The journey is based on [deploying GameOn using Dockers](https://book.gameontext.org/walkthroughs/local-docker.html)
310+
* [GameOn](https://gameontext.org) - The original game on app. The journey is based on [deploying GameOn using Docker](https://book.gameontext.org/walkthroughs/local-docker.html)
310311

311312
## License
312313

core/auth.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ spec:
6363
- name: KAFKA_SERVICE_URL
6464
value : kafka:9092
6565
- name: FRONT_END_PLAYER_URL
66-
value : https://169.47.241.213:30443/players/v1/accounts
66+
value : https://192.168.99.100:30443/players/v1/accounts
6767
- name: FRONT_END_SUCCESS_CALLBACK
68-
value : https://169.47.241.213:30443/#/login/callback
68+
value : https://192.168.99.100:30443/#/login/callback
6969
- name: FRONT_END_FAIL_CALLBACK
70-
value : https://169.47.241.213:30443/#/game
70+
value : https://192.168.99.100:30443/#/game
7171
- name: FRONT_END_AUTH_URL
72-
value : https://169.47.241.213:30443/auth
72+
value : https://192.168.99.100:30443/auth
7373
- name: GAMEON_MODE
7474
value : development
7575
- name: TARGET_PLATFORM
@@ -79,7 +79,7 @@ spec:
7979
- name: LICENSE
8080
value : accept
8181
- name: PROXY_DOCKER_HOST
82-
value : '169.47.241.213'
82+
value : '192.168.99.100'
8383
- name: ADMIN_PASSWORD
8484
value : admin
8585
- name: WLP_SKIP_MAXPERMSIZE

core/map.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ spec:
6363
- name: KAFKA_SERVICE_URL
6464
value : kafka:9092
6565
- name: FRONT_END_PLAYER_URL
66-
value : https://169.47.241.213:30443/players/v1/accounts
66+
value : https://192.168.99.100:30443/players/v1/accounts
6767
- name: FRONT_END_SUCCESS_CALLBACK
68-
value : https://169.47.241.213:30443/#/login/callback
68+
value : https://192.168.99.100:30443/#/login/callback
6969
- name: FRONT_END_FAIL_CALLBACK
70-
value : https://169.47.241.213:30443/#/game
70+
value : https://192.168.99.100:30443/#/game
7171
- name: FRONT_END_AUTH_URL
72-
value : https://169.47.241.213:30443/auth
72+
value : https://192.168.99.100:30443/auth
7373
- name: GAMEON_MODE
7474
value : development
7575
- name: TARGET_PLATFORM
@@ -79,7 +79,7 @@ spec:
7979
- name: LICENSE
8080
value : accept
8181
- name: PROXY_DOCKER_HOST
82-
value : '169.47.241.213'
82+
value : '192.168.99.100'
8383
- name: ADMIN_PASSWORD
8484
value : admin
8585
- name: WLP_SKIP_MAXPERMSIZE

core/mediator.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ spec:
6363
- name: KAFKA_SERVICE_URL
6464
value : kafka:9092
6565
- name: FRONT_END_PLAYER_URL
66-
value : https://169.47.241.213:30443/players/v1/accounts
66+
value : https://192.168.99.100:30443/players/v1/accounts
6767
- name: FRONT_END_SUCCESS_CALLBACK
68-
value : https://169.47.241.213:30443/#/login/callback
68+
value : https://192.168.99.100:30443/#/login/callback
6969
- name: FRONT_END_FAIL_CALLBACK
70-
value : https://169.47.241.213:30443/#/game
70+
value : https://192.168.99.100:30443/#/game
7171
- name: FRONT_END_AUTH_URL
72-
value : https://169.47.241.213:30443/auth
72+
value : https://192.168.99.100:30443/auth
7373
- name: GAMEON_MODE
7474
value : development
7575
- name: TARGET_PLATFORM

core/player.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ spec:
6868
- name: KAFKA_SERVICE_URL
6969
value : kafka:9092
7070
- name: FRONT_END_PLAYER_URL
71-
value : https://169.47.241.213:30443/players/v1/accounts
71+
value : https://192.168.99.100:30443/players/v1/accounts
7272
- name: FRONT_END_SUCCESS_CALLBACK
73-
value : https://169.47.241.213:30443/#/login/callback
73+
value : https://192.168.99.100:30443/#/login/callback
7474
- name: FRONT_END_FAIL_CALLBACK
75-
value : https://169.47.241.213:30443/#/game
75+
value : https://192.168.99.100:30443/#/game
7676
- name: FRONT_END_AUTH_URL
77-
value : https://169.47.241.213:30443/auth
77+
value : https://192.168.99.100:30443/auth
7878
- name: GAMEON_MODE
7979
value : development
8080
- name: TARGET_PLATFORM
@@ -84,7 +84,7 @@ spec:
8484
- name: LICENSE
8585
value : accept
8686
- name: PROXY_DOCKER_HOST
87-
value : '169.47.241.213'
87+
value : '192.168.99.100'
8888
- name: ADMIN_PASSWORD
8989
value : admin
9090
- name: WLP_SKIP_MAXPERMSIZE

core/proxy.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ spec:
6868
- name: KAFKA_SERVICE_URL
6969
value : kafka:9092
7070
- name: FRONT_END_PLAYER_URL
71-
value : https://169.47.241.213:30443/players/v1/accounts
71+
value : https://192.168.99.100:30443/players/v1/accounts
7272
- name: FRONT_END_SUCCESS_CALLBACK
73-
value : https://169.47.241.213:30443/#/login/callback
73+
value : https://192.168.99.100:30443/#/login/callback
7474
- name: FRONT_END_FAIL_CALLBACK
75-
value : https://169.47.241.213:30443/#/game
75+
value : https://192.168.99.100:30443/#/game
7676
- name: FRONT_END_AUTH_URL
77-
value : https://169.47.241.213:30443/auth
77+
value : https://192.168.99.100:30443/auth
7878
- name: GAMEON_MODE
7979
value : development
8080
- name: TARGET_PLATFORM
@@ -84,7 +84,7 @@ spec:
8484
- name: LICENSE
8585
value : accept
8686
- name: PROXY_DOCKER_HOST
87-
value : '169.47.241.213'
87+
value : '192.168.99.100'
8888
- name: ADMIN_PASSWORD
8989
value : admin
9090
- name: WLP_SKIP_MAXPERMSIZE

core/room.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ spec:
6363
- name: KAFKA_SERVICE_URL
6464
value : kafka:9092
6565
- name: FRONT_END_PLAYER_URL
66-
value : https://169.47.241.213:30443/players/v1/accounts
66+
value : https://192.168.99.100:30443/players/v1/accounts
6767
- name: FRONT_END_SUCCESS_CALLBACK
68-
value : https://169.47.241.213:30443/#/login/callback
68+
value : https://192.168.99.100:30443/#/login/callback
6969
- name: FRONT_END_FAIL_CALLBACK
70-
value : https://169.47.241.213:30443/#/game
70+
value : https://192.168.99.100:30443/#/game
7171
- name: FRONT_END_AUTH_URL
72-
value : https://169.47.241.213:30443/auth
72+
value : https://192.168.99.100:30443/auth
7373
- name: GAMEON_MODE
7474
value : development
7575
- name: TARGET_PLATFORM
@@ -79,7 +79,7 @@ spec:
7979
- name: LICENSE
8080
value : accept
8181
- name: PROXY_DOCKER_HOST
82-
value : '169.47.241.213'
82+
value : '192.168.99.100'
8383
- name: ADMIN_PASSWORD
8484
value : admin
8585
- name: WLP_SKIP_MAXPERMSIZE

core/webapp.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ spec:
5858
- name: KAFKA_SERVICE_URL
5959
value : kafka:9092
6060
- name: FRONT_END_PLAYER_URL
61-
value : https://169.47.241.213:30443/players/v1/accounts
61+
value : https://192.168.99.100:30443/players/v1/accounts
6262
- name: FRONT_END_SUCCESS_CALLBACK
63-
value : https://169.47.241.213:30443/#/login/callback
63+
value : https://192.168.99.100:30443/#/login/callback
6464
- name: FRONT_END_FAIL_CALLBACK
65-
value : https://169.47.241.213:30443/#/game
65+
value : https://192.168.99.100:30443/#/game
6666
- name: FRONT_END_AUTH_URL
67-
value : https://169.47.241.213:30443/auth
67+
value : https://192.168.99.100:30443/auth
6868
- name: GAMEON_MODE
6969
value : development
7070
- name: TARGET_PLATFORM
@@ -74,7 +74,7 @@ spec:
7474
- name: LICENSE
7575
value : accept
7676
- name: PROXY_DOCKER_HOST
77-
value : '169.47.241.213'
77+
value : '192.168.99.100'
7878
- name: ADMIN_PASSWORD
7979
value : admin
8080
- name: WLP_SKIP_MAXPERMSIZE

scripts/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Scripts
2+
3+
## deploy-to-bluemix
4+
Contains necessary scripts for the toolchain to deploy the app in Bluemix.
5+
Requirements are having a Bluemix account, deployed Cluster in Bluemix container service, and a Github account.
6+
7+
## install.sh
8+
The script for Travis. It runs build and checks if the build has passed or failed.
9+
10+
## replace\_ip\_< os >.sh
11+
The script for modifying the yaml files in the **core** folder and **setup.yaml**.
12+
13+
* Usage:
14+
15+
1. `replace_ip_<your-os>.sh`
16+
* replaces every instance of `169.47.241.213` in the yaml files inside your **core** folder and **setup.yaml** to the IP of your cluster *(found by executing `kubectl get nodes`)*.
17+
2. `replace_ip_<your-os>.sh <IP-ADDRESS>`
18+
* replaces every instance of `<IP-ADDRESS>` to the IP of your cluster *(found by executing `kubectl get nodes`)*.
19+
* Ex: `replace_ip_OSX.sh 169.47.241.213` replaces every `169.47.241.213` in the files mentioned above.
20+
3. `replace_ip_<your-os>.sh <ip-to-be-replaced> <IP-ADDRESS>`
21+
* replaces every instance of `<ip-to-be-replaced>` to `<IP-ADDRESS>`
22+
* Ex: `replace_ip_OSX.sh 169.47.241.213 192.168.99.100` replaces every `169.47.241.213` to `192.168.99.100`

0 commit comments

Comments
 (0)