Skip to content

Commit 0fb9d42

Browse files
Updated README.md
1 parent 5cbf911 commit 0fb9d42

16 files changed

+122
-25
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ cd <repo>
3939
## Step 7: Deploy & Run App to Kubernetes
4040
```bash
4141
minikube delete
42-
minikube start --driver docker
42+
minikube start
43+
cd app
4344
kubectl apply -f deployment.yml
4445
minikube start service: webapp
4546
kubectl get all
46-
minikube service webapp-service
47+
minikube service webapp-service [terminal 1]
48+
kubectl port-forward --address 0.0.0.0 service/webapp-service 30000:5000 [terminal 2]
4749
cd ..
4850
```
4951

@@ -64,7 +66,7 @@ export BROWSER=chrome && python cortexaai_cli.py
6466

6567
## Run Front-End Tests (Including Snapshot Images)
6668
```bash
67-
export BROWSER=chrome && python -m unittest discover
69+
export BROWSER=chrome URL=http://<internal-ip>:30000 && python -m unittest discover
6870
```
6971

7072
## Run Back-End Tests

app/deployment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
spec:
1717
containers:
1818
- name: webapp
19-
image: mytechnotalent/cortexaai:latest
19+
image: mytechnotalent/cortexaai
2020
ports:
2121
- containerPort: 5000
2222
---
@@ -32,4 +32,4 @@ spec:
3232
- protocol: TCP
3333
port: 5000
3434
targetPort: 5000
35-
nodePort: 30100
35+
nodePort: 30000

cortexaai_cli.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
1-
#
2-
# CortexaAI
3-
# *********
4-
#
5-
# Created by My Techno Talent 03/20/21
6-
# Modified by My Techno Talent 03/20/21
7-
#
81
# Copyright: (c) 2021, My Techno Talent <[email protected]>
92
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
10-
#
11-
# An open-source Automation Engine that can perform full Front-End Automation, Data Science and Machine learning.
12-
#
13-
# required modules
14-
# pip install gTTS
15-
# pip install selenium
16-
#
17-
# Version 0.0.1 Alpha
18-
#
193

204
from pages.speak import Speak
215
from pages.amazon_page import AmazonPage

images/20220220_065516.png

511 KB
Loading

images/20220220_065538.png

348 KB
Loading

images/20220220_090438.png

577 KB
Loading

images/20220220_090459.png

451 KB
Loading

images/20220220_111610.png

834 KB
Loading

images/20220220_111629.png

326 KB
Loading

images/20220220_114129.png

816 KB
Loading

0 commit comments

Comments
 (0)