If you just want to easily install Django-Nonrel for Google App Engine right now, then use the Django-Nonrel Installer (supports versions 1.3, 1.4, and 1.5)
Here are the steps for a manual install of django-nonrel:
- Download the all needed archives.
http://github.com/django-nonrel/djangotoolbox/tarball/toolbox-1.5-beta
http://github.com/django-nonrel/djangoappengine/tarball/appengine-1.5-beta
http://github.com/django-nonrel/django-dbindexer/tarball/dbindexer-1.5-beta
http://github.com/django-nonrel/django-testapp/tarball/testapp-1.5-beta
http://github.com/django-nonrel/nonrel-search/tarball/develop
http://github.com/django-nonrel/django-permission-backend-nonrel/tarball/develop
http://bitbucket.org/twanschik/django-autoload/get/default.tar.gz
Also needed for MongoDB backend:
http://github.com/django-nonrel/mongodb-engine/tarball/master
http://github.com/django-nonrel/mongodb-cache/tarball/master
*Advance warning. Django-Testapp does not work with MongoDB at the time of this writing. So if you're installing MongoDB, but hopefully these instructions can get you in the right direction*
- Extract the archives.
- It's recommended (not mandatory) to rename every folder to something more relevant.
rename django-nonrel-nonrel-search-cd54e52/ to nonrel-search/
- A) If you know how symbolic linking works, link all of the libraries into the folder django-testapp/
Example:
cd django-testapp ln -s ../nonrel-search/search .
- B) If you're unfamiliar with symbolic linking or if you're on a Microsoft system, just move the library folders directly into the django-testapp/ folder.
Example:
cut nonrel-search/search/ paste into django-testapp/
Finished
At this time you should have a complete setup. If you have the GAE sdk installed and listed in your $PATH, you can test out the local server. Change to the directory django-testapp/ and start up the local server by running a command similar to this:
$ python manage.py runserver
Then point your browser to:
http://localhost:8000
For more Django-Nonrel Documentation:
http://docs.django-nonrel.org
Update 2013 May 23:Fixed archive URLs, and updated to django -nonrel 1.5 beta.
Comment or leave feedback sepero 111 @ gmx . com
No comments:
Post a Comment