|
1 | 1 | ## Images Guestbook Sample |
2 | 2 |
|
3 | | -This is a sample app for Google App Engine that exercises the [images |
4 | | -Python |
| 3 | +This is a sample app for Google App Engine that demonstrates the [Images Python |
5 | 4 | API](https://cloud.google.com/appengine/docs/python/images/usingimages). |
6 | 5 |
|
7 | | -See our other [Google Cloud Platform github |
8 | | -repos](https://github.com/GoogleCloudPlatform) for sample applications |
9 | | -and scaffolding for other python frameworks and use cases. |
10 | | - |
11 | | -## Run Locally |
12 | | - |
13 | | -1. Install the [Google Cloud SDK](https://cloud.google.com/sdk/), |
14 | | - including the [gcloud tool](https://cloud.google.com/sdk/gcloud/), |
15 | | - and [gcloud app |
16 | | - component](https://cloud.google.com/sdk/gcloud-app). |
17 | | - |
18 | | -1. Setup the gcloud tool. |
19 | | - ``` |
20 | | - gcloud components update app |
21 | | - gcloud auth login |
22 | | - gcloud config set project <your-app-id> |
23 | | - ``` |
24 | | - You don't need a valid app-id to run locally, but will need a valid id |
25 | | - to deploy below. |
26 | | - |
27 | | -1. Clone this repo. |
28 | | - ``` |
29 | | - git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git |
30 | | - cd appengine/images/ |
31 | | - ``` |
32 | | - |
33 | | -1. Run this project locally from the command line. |
34 | | - ``` |
35 | | - gcloud preview app run ./app.yaml |
36 | | - ``` |
37 | | - |
38 | | -1. Visit the application at |
39 | | - [http://localhost:8080](http://localhost:8080). |
40 | | - |
41 | | -## Deploying |
42 | | - |
43 | | -1. Use the [Cloud Developer |
44 | | - Console](https://console.developer.google.com) to create a |
45 | | - project/app id. (App id and project id are identical) |
46 | | - |
47 | | -1. Configure gcloud with your app id. |
48 | | - ``` |
49 | | - gcloud config set project <your-app-id> |
50 | | - ``` |
51 | | - |
52 | | -1. Use the [Admin Console](https://appengine.google.com) to view data, |
53 | | - queues, and other App Engine specific administration tasks. |
54 | | - |
55 | | -1. Use gcloud to deploy your app. |
56 | | - ``` |
57 | | - gcloud preview app deploy ./app.yaml |
58 | | - ``` |
59 | | - |
60 | | -1. Congratulations! Your application is now live at your-app-id.appspot.com |
61 | | - |
62 | | -## Contributing changes |
63 | | - |
64 | | -* See [CONTRIBUTING.md](/CONTRIBUTING.md) |
65 | | - |
66 | | -## Licensing |
67 | | - |
68 | | -* See [LICENSE](/LICENSE) |
| 6 | +Refer to the [App Engine Samples README](../README.md) for information on how to run and deploy this sample. |
0 commit comments