1. download pythonxx (x stands for the particular version that is currentely available)
http://www.python.org/download/
2. now download google app engine.
http://code.google.com/appengine/downloads.html
3. now create a folder for example hello.
app engine has configuration file called app.yaml
Among other things this file describes which handerl scripts should be used with which urls
# first line please indication the name of your application for example helloworld
application: helloworld
# version number
version: 1
# run time enviroment at the oment python and java are the main languages
runtime: python
# the version of the api
api_version 1
# handlers are very useful to structuring your document
it uses regular rexpression to find the url paths.
An example of this is the /stylesheets
handlers:
-url : /stylesheets
static_dir: stylesheet
# lastly the name of the script is helloworld.py
script: helloworld.py
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Step 1: First you need to download and install python. You can get a python installation from http://www.python.org/download/ Step 2: now...
-
In this file i purposely made mistakes to see what would happen. I hope this helps
-
to settup the database for Django step 1: go to the settings file ENGINE': 'django.db.backends.sqlite3', # Add 'postgresq...
No comments:
Post a Comment