aboutsummaryrefslogtreecommitdiffstats
path: root/example/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'example/README.rst')
-rw-r--r--example/README.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/example/README.rst b/example/README.rst
index aa044b9..e517d6f 100644
--- a/example/README.rst
+++ b/example/README.rst
@@ -17,10 +17,13 @@ The test project requires a working installation of Django::
$ pip install Django
+The following commands must be run from the root directory of a checkout of
+the debug toolbar, ie. the directory that contains ``example/``.
+
Before running the example for the first time, you must create a database::
- $ django-admin.py syncdb --settings=example.settings
+ $ PYTHONPATH=. django-admin.py syncdb --settings=example.settings
Then you can use the following command to run the example::
- $ django-admin.py runserver --settings=example.settings
+ $ PYTHONPATH=. django-admin.py runserver --settings=example.settings