Django AMF Sample Application


============================================================
Flex Address Book
============================================================

Requirements
------------------------------------------------------------
- Python 2.4
- Django 0.95.1
- Django AMF 0.3.3


How to run the application
------------------------------------------------------------
1. Setup a database

Edit settings.py in python directory. Change these settings
to match your database's connection parameters:

* DATABASE_ENGINE
* DATABASE_NAME
* DATABASE_USER
* DATABASE_PASSWORD
* DATABASE_HOST

If you're using PostgreSQL or MySQL, make sure you've
created a database. Do that with
"CREATE DATABASE addressbook;"
within your database's interactive prompt.

Additionally, you need to make sure your Python database
bindings are installed. Refere to the Django documentation:
http://www.djangoproject.com/documentation/install/

Then, in order to create the database tables, run the
following command in 'python' directory:
> python manage.py syncdb


2. Start the development server

Run the command below in 'python' directory:
> python manage.py runserver 80

If you run a server on other than port 80, you have to
modify MXML code, flex/index.mxml.


3. Play with the application

Visit the url with your web browser.
http://localhost/addressbook/index.html


For more details
------------------------------------------------------------
Refer to the Django AMF project website.
http://djangoamf.sourceforge.jp/index.php?DjangoAMF_en




------------------------------------------------------------
This Flex application was made for the article of
WEB+DB PRESS Vol.37, which is published in Japan.
http://gihyo.jp/magazine/wdpress/archive/2007/vol37

The application uses Flex Paint ditributed at
http://sourceforge.net/projects/flexapps/
http://www.jamesward.org/wordpress/2006/08/16/flex-paint-flex-display-object-to-png/
