If you will only test PyLucid 0.9 on your local machine, you should follow this instructions:
Checkout the last SVN version:
The next examples used a checkout in the directory PyLucidTest.
Create a virtual environment:
or update a existing virtual environment with:
Important: You can't move a created virtual environment into a other directory, after creating them! This is a limitation of virtualenv, see also: http://pypi.python.org/pypi/virtualenv#making-environments-relocatable
You should not edit the default settings.py. A better way is to create the file "local_settings.py" in the current working directory.
In this file you can change every default settings.
At least you should insert:
Info: To display the changed settings, use:
Note: you must create a new database by your self. Django can only create tables.
go into the test environment:
create new tables:
Django ask you to create a first superuser. You should do this. Otherwise "loaddata" would be failed.
You can create a superuser manually with: ./manage.sh createsuperuser
insert the initial data:
Django has a own http server. This is usefull for developers. But it sould not be used for productive environments!
run test server:
Now you should be able to request the initial page with: http://127.0.0.1:8000/
You can easy run all unittest with:
Tests are not up to date. So, many tests failed.