2008/06/30

Create New Applications Through a Script

The GAEO project provides an useful script -- bin/gaeo.py. This python script helps you create an blank(but includes the necessary files) Google App Engine application. The usage of this script is very simple, just type this command in your console:

# python $GAEO_HOME/bin/gaeo.py foo

then, the script will generate a directory whose name is `foo` and the application files are included.

After generating the project, start up the dev_appserver under the generated project directory and you will get

on http://localhost:8080 .

If you use Eclipse and PyDev as your IDE, you may add a -eclipse option while using the generation script.

# $GAEO_HOME/bin/gaeo.py --eclipse foo

Then, the script will additionally generate the project files needed by Eclipse and PyDev.

The script has been committed into the latest repository or you may download the nightly built archive from the project site. Just use it!

0 Comments: