Skip to content

Developer's Guide

Jay Liu edited this page Dec 22, 2017 · 4 revisions

Developer's Guide

Install python 2.7.9 or later

Example, using miniconda

conda create -n ploverdojo python=2.7
source activate ploverdojo

Download and install the Google Cloud SDK and Google Cloud SDK for Python

https://cloud.google.com/appengine/docs/standard/python/download

Add completion (optional) and path to your profile

source ~/google-cloud-sdk/completion.bash.inc
source ~/google-cloud-sdk/path.bash.inc

Run locally

# cd to project
dev_appserver.py ./

This should install gcloud app Python Extensions (and Extra Libraries), once done it will show you URLs to access various parts of the application (API, admin and the application)

Visit URL for module "default", usually port 8080:

http://localhost:8080

Click the "Enter" button at the bottom of the screen, it will simulate a login (production uses google sign in popup here)