|
1 | | -## Project Name |
| 1 | +## Google Cloud Platform Python Samples |
2 | 2 |
|
3 | | -Project description. |
| 3 | +This repository is holds the samples used in the python documentation on [cloud.google.com](cloud.google.com). |
4 | 4 |
|
5 | | -See our other [Google Cloud Platform github |
6 | | -repos](https://github.com/GoogleCloudPlatform) for sample applications and |
7 | | -scaffolding for other frameworks and use cases. |
8 | | - |
9 | | -## Run Locally |
10 | | -1. Install the [Google Cloud SDK](https://cloud.google.com/sdk/), including the [gcloud tool](https://cloud.google.com/sdk/gcloud/), and [gcloud app component](https://cloud.google.com/sdk/gcloud-app). |
11 | | -2. Setup the gcloud tool. |
12 | | - |
13 | | - ``` |
14 | | - gcloud components update app |
15 | | - gcloud auth login |
16 | | - gcloud config set project <your-app-id> |
17 | | - ``` |
18 | | - You don't need a valid app-id to run locally, but will need a valid id to deploy below. |
19 | | - |
20 | | -1. Clone this repo. |
21 | | - |
22 | | - ``` |
23 | | - git clone https://github.com/GoogleCloudPlatform/<REPO NAME>.git |
24 | | - ``` |
25 | | -1. Run this project locally from the command line. |
26 | | - |
27 | | - ``` |
28 | | - gcloud preview app run <REPO NAME>/ |
29 | | - ``` |
30 | | - |
31 | | -1. Visit the application at [http://localhost:8080](http://localhost:8080). |
32 | | - |
33 | | -## Deploying |
34 | | - |
35 | | -1. Use the [Cloud Developer Console](https://console.developer.google.com) to create a project/app id. (App id and project id are identical) |
36 | | -2. Configure gcloud with your app id. |
37 | | - |
38 | | - ``` |
39 | | - gcloud config set project <your-app-id> |
40 | | - ``` |
41 | | -1. Use the [Admin Console](https://appengine.google.com) to view data, queues, and other App Engine specific administration tasks. |
42 | | -1. Use gcloud to deploy your app. |
43 | | - |
44 | | - ``` |
45 | | - gcloud preview app deploy <REPO NAME>/ |
46 | | - ``` |
47 | | - |
48 | | -1. Congratulations! Your application is now live at your-app-id.appspot.com |
| 5 | +For more detailed introduction to a product, check the README in the cooresponding folder. |
49 | 6 |
|
50 | 7 | ## Contributing changes |
51 | 8 |
|
|
0 commit comments