aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2010-07-06 20:02:41 +0000
committerMichael Elkins <melkins@tislabs.com>2010-07-06 20:02:41 +0000
commit1eb6fdf03355a7b904fb6bad61d429169b5e0c95 (patch)
tree44922168534db1e07ccda69159db3c72f9a59b15
parent00271db079cf530cdb839c447a5e2c87848b7a3c (diff)
add missing instruction for setting $PYTHONPATH when invoking the django test web server
svn path=/portal-gui/README; revision=3347
-rw-r--r--portal-gui/README3
1 files changed, 3 insertions, 0 deletions
diff --git a/portal-gui/README b/portal-gui/README
index 2048601a..c05fadb1 100644
--- a/portal-gui/README
+++ b/portal-gui/README
@@ -148,8 +148,11 @@ start your web server.
Alternatively, django comes with a test web server which is useful for small
deployments, or for just testing the portal-gui. You can start the test server
by running:
+
$ cd $top/portal-gui/rpkigui/
+ $ export PYTHONPATH=$top/rpkid/
$ python manage.py runserver <ip:port>
+
where <ip:port> is the address where you want to run the server. If you don't
specify the <ip:port>, the default is 127.0.0.1:8000.