Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 649 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 649 Bytes

flask-part-1

Assignment #2

Deploying through Virtual Machine

1. connect through SSH terminal

2. $ sudo apt-get update

3. $ sudo apt install python3-pip

4. $ pip3 install Flask

6. $ cd flask-part-1

7. $ sudo python3 app.py

8. Ctrl+Z (suspend the process)

9. $ bg (restart the process in the background)

10. $ sudo nohup python3 app.py > log.txt 2>&1 &

GCP deployment link:

http://34.136.85.112/ http://34.136.85.112/about/ http://34.136.85.112/contact/

Azure deployment link:

http://20.169.14.194 http://20.169.14.194/about/ http://20.169.14.194/contact/