File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ CHRONOS_GRAFANA_API_KEY = Bearer [the access token you created in step 3]
39
39
```
40
40
docker build -t frontend:1.0 .
41
41
```
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
43
43
44
44
45
45
## Build the Server
@@ -66,6 +66,11 @@ CHRONOS_URI = The URI to the desired MongoDB or PostgreSQL database to save heal
66
66
docker build -t backend:1.0 .
67
67
```
68
68
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
+
69
74
70
75
## Deploy the Cluster
71
76
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
76
81
77
82
** Mac Users:** Alternative to running the above commands, ` cd ` into the * scripts* folder and run the ` startKuber.sh ` script.
78
83
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:
83
85
84
86
<p align =" center " >
85
87
<img alt =" Kubernetes containers created " src =" ../../assets/examples_kubernetes_created.png " >
You can’t perform that action at this time.
0 commit comments