Django為Python的framework之一,通常用django-admin.py產生來project,而Django-nonrel 建立網站的方式與一般Django不太一樣,直接一個空骨架來用
1. 直接Download或clone :
django-nonrel, djangoappengine, djangotoolbox, django-autoload, django-dbindexer, django-testapp
2. 解壓縮後可將django-testapp重新命名,並將以下copy至目錄底下:
- django-nonrel/django =>
<project>
/django - djangotoolbox/djangotoolbox =>
<project>
/djangotoolbox - django-autoload/autoload =>
<project>
/autoload - django-dbindexer/dbindexer =>
<project>
/dbindexer - djangoappengine =>
<project>
/djangoappengine
3. Commands:
manage.py runserver //start server, localhost:8000
想用其他port的話: manage.py runserver x.x.x.x:108000
django-testapp : project的骨架
dbindexer : 實作資料庫內的底層
autoload : 自動載入library
django-mediagenerator : 壓縮JS、CSS加速library
參考文件:http://www.allbuttonspressed.com/projects/djangoappengine#id1