Demo project¶
Demo folder in project’s repository [1] contains a Django project to illustrate django-downloadview usage.
Documentation includes code from the demo¶
Almost every example in the documentation comes from the demo:
- discover examples in the documentation;
- browse related code and tests in demo project.
Examples in documentation are tested via demo project!
Browse demo code online¶
Deploy the demo¶
System requirements:
Python [2] version 2.7, available as python command.
Note
You may use Virtualenv [3] to make sure the active python is the right one.
make and wget to use the provided Makefile.
Execute:
git clone git@github.com:benoitbryon/django-downloadview.git
cd django-downloadview/
make runserver
It installs and runs the demo server on localhost, port 8000. So have a look at http://localhost:8000/
Note
If you cannot execute the Makefile, read it and adapt the few commands it contains to your needs.
Browse and use demo/demoproject/ as a sandbox.