Skip to content

Commit f6fdee9

Browse files
committed
fix kuber
1 parent ab86263 commit f6fdee9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

examples/kubernetes/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ CHRONOS_GRAFANA_API_KEY = Bearer [the access token you created in step 3]
3939
```
4040
docker build -t frontend:1.0 .
4141
```
42-
**Mac Users:** Alternative to running the above command, `cd` into the scripts folder and run the `buildClient.sh` script
42+
**Mac Users:** Alternative to running the above command, `cd` into the scripts folder and run the `./buildClient.sh` script
4343

4444

4545
## Build the Server
@@ -66,6 +66,11 @@ CHRONOS_URI = The URI to the desired MongoDB or PostgreSQL database to save heal
6666
docker build -t backend:1.0 .
6767
```
6868

69+
## Start the npm Server
70+
1. `cd` into the `server` folder inside `chronos_npm_package`, then run `npm install` to install all dependencies.
71+
72+
2. run `npm start` to start npm server.
73+
6974

7075
## Deploy the Cluster
7176
1. `cd` into the launch folder and run the following commands to start the services and deployments described in the YAML files:
@@ -76,10 +81,7 @@ kubectl apply -f frontend.yml
7681

7782
**Mac Users:** Alternative to running the above commands, `cd` into the *scripts* folder and run the `startKuber.sh` script.
7883

79-
80-
2. `cd` into the `server` folder inside `chronos_npm_package`, then run `npm install` and `npm start`
81-
82-
3. Check in Docker desktop if your containers have been created. You should see something similar to the following:
84+
2. Check in Docker desktop if your containers have been created. You should see something similar to the following:
8385

8486
<p align="center">
8587
<img alt="Kubernetes containers created" src="../../assets/examples_kubernetes_created.png">

0 commit comments

Comments
 (0)