Skip to content

dhermes/appengine-picturesque-python

 
 

Repository files navigation

Picturesque

"Picturesque" is a sample application used to demonstrate Cloud and Client best practices at Google I/O 2013. For more information, see the slides, the Google I/O Session or try out the application!

Project Setup, Installation, and Configuration

To check out the application, execute:

git clone --recursive https://github.com/GoogleCloudPlatform/appengine-picturesque-python

and all submodules will be cloned as well.

To set up the application, you'll need to create a settings.py file with your Client ID as well as a custom-js/picturesque-config.js file with the same data. Sample data and links are contained in the files settings.py.example and custom-js/picturesque-config.js.example.

To build the application after changes, run python make_index.py from the html/ directory. This will require that you have Jinja2 installed locally.

To populate the test data, use the remote api:

remote_api_shell.py -s your-app-id.appspot.com
Email: some-application-admin@mail.com
Password:
App Engine remote_api shell
Python 2.7.2 (default, Oct 11 2012, 20:14:37)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]
The db, ndb, users, urlfetch, and memcache modules are imported.
s~your-app-id> import populate_test_user
s~your-app-id> populate_test_user.reset_test_user()
Removing all existing
Adding the demo photos
s~your-app-id>

where your-app-id is the application ID you are using in app.yaml. This will also use the test user account you define in settings.py.

Contributing changes

Licensing

Products

Language

APIs

Dependencies

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published