summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Bicking <ian@ianbicking.org>2005-04-22 08:00:44 +0000
committerIan Bicking <ian@ianbicking.org>2005-04-22 08:00:44 +0000
commit8ecffbd77bd7f8ce242ca4c5be7181a3341372cc (patch)
tree17f76f83888f837723dd1d3037a7d4ac0d678f88
parent00e082729fb2c4565c31dee5b9d15d8be0b0f90a (diff)
downloadpaste-git-8ecffbd77bd7f8ce242ca4c5be7181a3341372cc.tar.gz
Use different example installation directory
-rw-r--r--docs/BlogTutorial.txt4
-rw-r--r--docs/TodoTutorial.txt10
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/BlogTutorial.txt b/docs/BlogTutorial.txt
index 88f3260..b7fc588 100644
--- a/docs/BlogTutorial.txt
+++ b/docs/BlogTutorial.txt
@@ -47,7 +47,7 @@ Setting Up The App
.. comment:
>>> from paste.tests.doctest_webapp import *
- >>> BASE = '/var/www/wkblog'
+ >>> BASE = '/var/www/example-builds/wkblog'
>>> import sys
>>> clear_dir(BASE)
>>> run("app-setup create --template=webkit_zpt %s" % BASE)
@@ -56,7 +56,7 @@ Setting Up The App
::
$ export PYTHONPATH=/path/to/Paste:$PYTHONPATH
- $ BASE=/var/www/wkblog
+ $ BASE=/var/www/example-builds/wkblog
$ app-setup create --template=webkit_zpt $BASE
$ cd $BASE
diff --git a/docs/TodoTutorial.txt b/docs/TodoTutorial.txt
index 3f1ce07..164bee2 100644
--- a/docs/TodoTutorial.txt
+++ b/docs/TodoTutorial.txt
@@ -45,11 +45,11 @@ Setting up the files
>>> from paste.tests.doctest_webapp import *
Let's start out quickly. We'll be installing the application in
-``/var/www/todo_sql``:
+``/var/www/example-builds/todo_sql``:
.. comment (setup)
- >>> BASE = '/var/www/todo_sql'
+ >>> BASE = '/var/www/example-builds/todo_sql'
>>> import sys
>>> sys.path.append('/path/to/Paste')
>>> clear_dir(BASE)
@@ -72,7 +72,7 @@ Let's start out quickly. We'll be installing the application in
::
$ export PYTHONPATH=/path/to/Paste:$PYTHONPATH
- $ BASE=/var/www/todo_sql
+ $ BASE=/var/www/example-builds/todo_sql
$ app-setup create --template=webkit_zpt $BASE
$ cd $BASE
$ ls -R
@@ -479,8 +479,8 @@ Now we have to actually create the tables; we'll use the
);
-You have to be sure ``/var/www`` is in your ``$PYTHONPATH`` so that
-your ``todo_sql/`` directory is a module that Python can load. ``-m
+You have to be sure ``/var/www/example-builds`` is in your ``$PYTHONPATH``
+so that your ``todo_sql/`` directory is a module that Python can load. ``-m
todo_sql.db`` tells ``sqlobject-admin`` to load that module, look for
SQLObject classes, and use them for its command -- in this case
(``sqlobject-admin sql``) showing the ``CREATE`` statements. Now lets