A Django Layout demo site.

Django Layout Demo -- A Django project created by Django Layout.

Django Layout Demo is...

BUILD

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 TEST

This uses nosetests to run the unit tests, and enables the built-in coverage report.

./tests.sh sensible-browser ./coverage/index.html INSTALL

There is nothing to install.

DEBUG

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 >>> REQUIREMENTS

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 OPTIONAL pylint 0.23 CONTRIBUTE

TODO: https://github.com/.../django-layoutdemo

LICENSE

Django Layout Demo is brought to you by TODO: Who? under the TODO: What? License.

CREATED BY

https://github.com/rentalita/django-layout

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。