Skip to content

Commit 230a961

Browse files
Update README.md
1 parent 0597e0c commit 230a961

File tree

1 file changed

+19
-13
lines changed

1 file changed

+19
-13
lines changed

README.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,31 @@ Docker Desktop [Instructions](https://docs.docker.com/desktop/mac/install)
1111
brew install minikube
1212
```
1313

14-
## Step 3: Setup Local Environment
14+
## Step 3: Install Helm
15+
```bash
16+
brew install helm
17+
```
18+
19+
## Step 4: Setup Local Environment
1520
```bash
1621
python3 -m venv venv
1722
source venv/bin/activate
1823
pip install -r requirements.txt
1924
```
2025

21-
## Step 4: OPTIONAL Setup Voice Recognition (MAC Only)
26+
## Step 5: OPTIONAL Setup Voice Recognition (MAC Only)
2227
Use Voice Control On MAC [Instructions](https://support.apple.com/en-us/HT210539).
2328

24-
## Step 5: Build App Locally
29+
## Step 6: Build App Locally
2530
```bash
31+
cd app/website
2632
docker build --tag cortexaai:latest .
2733
docker run -d --name cortexaai --publish 5000:5000 cortexaai
34+
cd ..
35+
cd ..
2836
```
2937

30-
## Step 6: Install Ansible Galaxy kubernetes.core.k8s
38+
## Step 7: Install Ansible Galaxy kubernetes.core.k8s
3139
```bash
3240
pip install openshift pyyaml kubernetes
3341
cd /Applications/Python\ <version>
@@ -36,25 +44,23 @@ ansible-galaxy collection install kubernetes.core
3644
cd <repo>
3745
```
3846

39-
## Step 7: Deploy & Run App to Kubernetes
47+
## Step 8: Deploy & Run App to Kubernetes
4048
```bash
49+
cd app
4150
minikube delete
4251
minikube start
43-
cd app
44-
kubectl apply -f deployment.yml
45-
minikube start service: webapp
46-
kubectl get all
47-
minikube service webapp-service [terminal 1]
48-
kubectl port-forward --address 0.0.0.0 service/webapp-service 30000:5000 [terminal 2]
52+
helm install website .
53+
minikube service website-cortexaai [terminal 1]
54+
kubectl port-forward --address 0.0.0.0 service/webapp-service 30000:80 [terminal 2]
4955
cd ..
5056
```
5157

52-
## Step 8: Run Docker Compose (Selenium Grid)
58+
## Step 9: Run Docker Compose (Selenium Grid)
5359
```bash
5460
docker-compose -f ./docker-compose.yml up --scale chrome=1 -d
5561
```
5662

57-
## Step 9: Observe Selenium Grid Run (Including Built-In VNC Viewer)
63+
## Step 10: Observe Selenium Grid Run (Including Built-In VNC Viewer)
5864
```
5965
http://localhost:4444/ui/index.html#/sessions
6066
```

0 commit comments

Comments
 (0)