forked from GoogleCloudPlatform/python-docs-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ysuzuki1986 edited this page Jul 14, 2018
·
2 revisions
- if you have already started nginx on your GCP ComputeEngine instance, stop the nginx process.
sudo service nginx stop
-
clone hello-world directory, and change directory to there.
-
install pip and gunicorn
sudo apt install python-pip gunicorn
- install required package.
sudo pip install flask
- start gunicorn process.
sudo gunicorn -b 0.0.0.0:80 main:app