diff options
| author | ianb <devnull@localhost> | 2005-04-26 00:58:51 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2005-04-26 00:58:51 +0000 |
| commit | 0c4ad32cf19b128b55b87bb1e0f1969fb4084867 (patch) | |
| tree | 80099e6cf014e72d5c1f6b011de40955af41a47f /docs | |
| parent | a031d7347382a8181084459529ee11f435b09af9 (diff) | |
| download | paste-0c4ad32cf19b128b55b87bb1e0f1969fb4084867.tar.gz | |
Renamed script to paste-*
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/BlogTutorial.txt | 5 | ||||
| -rw-r--r-- | docs/TodoTutorial.txt | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/docs/BlogTutorial.txt b/docs/BlogTutorial.txt index b7fc588..fdc0762 100644 --- a/docs/BlogTutorial.txt +++ b/docs/BlogTutorial.txt @@ -8,6 +8,11 @@ Blog Tutorial .. contents:: +.. note:: + + This tutorial is not yet finished. What you see is what you get, + and yeah that's not a whole lot. + Introduction ============ diff --git a/docs/TodoTutorial.txt b/docs/TodoTutorial.txt index 164bee2..0565330 100644 --- a/docs/TodoTutorial.txt +++ b/docs/TodoTutorial.txt @@ -53,7 +53,7 @@ Let's start out quickly. We'll be installing the application in >>> import sys >>> sys.path.append('/path/to/Paste') >>> clear_dir(BASE) - >>> run("app-setup create --template=webkit_zpt %s" % BASE) + >>> run("paste-setup create --template=webkit_zpt %s" % BASE) >>> os.chdir(BASE) >>> ls(recurse=True) __init__.py @@ -73,7 +73,7 @@ Let's start out quickly. We'll be installing the application in $ export PYTHONPATH=/path/to/Paste:$PYTHONPATH $ BASE=/var/www/example-builds/todo_sql - $ app-setup create --template=webkit_zpt $BASE + $ paste-setup create --template=webkit_zpt $BASE $ cd $BASE $ ls -R .: @@ -168,7 +168,7 @@ Running the application It's just the barest example application, but we can still run it and get some basic output. Change into the directory and run:: - $ path/to/paste/scripts/wsgi-server + $ path/to/paste/scripts/paste-server This will run a server on http://localhost:8080 @@ -181,7 +181,7 @@ This will run a server on http://localhost:8080 :file: resources/TodoTutorial/default-frontpage.html You can run the server in different ways by passing command-line -options to ``wsgi-server``, or by editing ``server.conf``. The +options to ``paste-server``, or by editing ``server.conf``. The default setup only serves connection from the local computer (use ``host='0.0.0.0'`` to allow connections from anywhere), and serves on port 8080 (use ``port = 80`` to make it the default |
