-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathREADME
More file actions
21 lines (14 loc) · 681 Bytes
/
README
File metadata and controls
21 lines (14 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Important Please pay attention!
In order to run this code file, please provide all the details in the config.py file
First, clone the github repo on the target server and change config.py file
Run the following things on the target website servers
sudo apt-get update
sudo apt-get install python3 python3-pip
git clone <github-link>
sudo pip3 install flask pymysql boto3
sudo python3 app.py
Routes on the website:
/ is the main website
/check will give kubernetes cluster status
For Kubernetes Cluster, use the dockerfile provided in the repo to create a container, deploy this container on kubnernetes on nodeport service, and specify ip and port in config.py file
Thanks,