Django Layout Demo is...
This runs python setup.py develop
(more or less).
./build.sh
# Create a dummy SSL certificate.
./bin/make-ssl-cert.sh
./bin/lighttpd.sh start
sensible-browser http://localhost:8080
./bin/lighttpd.sh stop
To use the admin site, run (only once):
./bin/django-manage.sh createsuperuser
Then, later on, each time a model changes run:
./bin/django-migrate.sh
This uses nosetests
to run the unit tests, and enables the built-in
coverage report.
./tests.sh
sensible-browser ./coverage/index.html
There is nothing to install.
The layout used by Django Layout Demo depends on that a particular
environment has been setup (see etc/common
). For this reason several
wrapper scripts have been provided to help when working on the
command-line. For example:
$ ./bin/python.sh
>>>
As tested on Ubuntu 11.04. See also Ubuntu Setup.
- python 2.7
- python-setuptools 0.6
- python-nose 1.0
- python-coverage 3.4
- python-django 1.3
- lighttpd 1.4
- python-flup 1.0
- spawn-fcgi 1.6
- sqlite3 3.7
- ssl-cert 1.0
- jquery 1.5
TODO: https://github.com/.../django-layoutdemo
Django Layout Demo is brought to you by TODO: Who? under the TODO: What? License.