Name: appengine-photoalbum-example
Owner: Google Cloud Platform
Description: null
Created: 2016-12-11 02:31:34.0
Updated: 2018-02-06 19:56:41.0
Pushed: 2017-03-03 22:47:59.0
Homepage: null
Size: 21
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Disclaimer: This is not an official Google product.
This is an example application demonstrating how Vision API and Translation API can be used to create a photo album application which automatically add appropriate tags to uploaded photos with various languages.
In this section you will start your Google Cloud Shell and clone the application code repository to it.
Click the Google Cloud Shell icon in the top-right and wait for your shell to open:
Clone the lab repository in your cloud shell, then cd
into that dir:
t clone https://github.com/GoogleCloudPlatform/appengine-photoalbum-example.git
ing into 'appengine-photoalbum-example'...
appengine-photoalbum-example
Open 'app.yaml' with a text editor and replace the language code to your favorite one from the supported languages.
You can replace the timezone code used for timestamps, too.
variables:
NG_TAG: 'it' <-- change to your favorite language code.
MESTAMP_TZ: 'Europe/Rome' <-- change to your favorite timezone code.
p install -r requirements.txt -t lib
loud app create
loud datastore create-indexes index.yaml
loud app deploy
By executing these commands on the Cloud Shell, the project id is automatically
applied to the application and the application URL will be
https://
You can see Datastore's index creation status from the Cloud Console. Once indexes have been created successfully, you can start using the application.
Clean up is really easy, but also super important: if you don't follow these instructions, you will continue to be billed for the project you created.
To clean up, navigate to the Google Developers Console Project List, choose the project you created for this lab, and delete it. That's it.