An open API service indexing awesome lists of open source software.

https://github.com/salmandabbakuti/gcp-python-webapp

Deploying Hello world Python App on Google Cloud Platform's App Engine.
https://github.com/salmandabbakuti/gcp-python-webapp

appengine googlecloudplatform python3 webapp

Last synced: about 1 year ago
JSON representation

Deploying Hello world Python App on Google Cloud Platform's App Engine.

Awesome Lists containing this project

README

          

# GCP-Python-WebAPP

Deploying Hello world Python App on Google Cloud Platform's App Engine.

Note: Trust me, if I say “App Engine cost you several bucks.” unless you have credits, don’t go further.

## Creating Project
1.Go to GCP Console Home,Click on cloud shell icon. it will open shell cmd prompt on bottom screen

2. Click on Little pen icon on top right of shell. it will take you to cloudshell UI site.

3. Create a new folder by rigth clicking on your root directory.

4. Create app.yaml, main.py, requirements.txt files in newfolder directory

## Folder Structure
```
├── pythondemo
│ ├── app.yaml
│ ├── main.py
│ └── requirements.txt
```
## Deploy App

in your folder directory, run following command. it will take sometime to deploy your app.

```gcloud app deploy```



## Browse APP

once deployed, run this command and it will show deployed address and paste this address in your browser. it will show deployed python Webapp response.

```gcloud app browse```