How to setup a local enviroment - GeoRemindMe/GeoRemindMe_Web GitHub Wiki
CONFIGURE ENVIROMENT:
To develop with App Engine you should:
- Download Eclipse (optional): http://www.eclipse.org/galileo/
- Install Aptana Studio 3 plugin (optional): http://www.aptana.com/products/studio3/download
- Download Google App Engine SDK (you will configure it later): http://code.google.com/appengine/downloads.html
After installing the apps follow this tutorial: http://code.google.com/appengine/docs/python/gettingstarted/
LOCAL DEVELOPMENT SERVER INSTRUCTIONS:
On Linux
Pre-requisites: You need to install python-imaging (to be able to render base64 images in the timeline)
sudo aptitude install python-imaging
To run the development server you just need to open a terminal, go to the App Engine directory and run:
./dev_appserver.py [SRC_FOLDER_WHERE_THE_app.yaml_IS]
Also add to you $PYTHONPATH your Google App Engine folder running:
pwd #This shows your current directory; so first go to your Google App Engine directory
export PYTHONPATH=$PYTHONPATH:/[ADD_HERE_THE_PATH_TO_IT]/google_appengine/
DEPLOY INSTRUCTIONS:
To be able to upload changes to georemindme.appspot.com you need to ask for an invitation to [email protected]
On Linux:
To upload the application to the production server you need to go to the app engine folder (/home/hhkaos/Apps/google_appengine) in my case, and execute this command
python appcfg.py update [SRC_FOLDER_WHERE_THE_app.yaml_IS]