Ticket #21 (closed task: invalid)
New version of Quick Start in doc/Paste.txt
| Reported by: | pkoppatz@… | Owned by: | ianb |
|---|---|---|---|
| Priority: | high | Milestone: | 1.4.1 |
| Component: | paste | Version: | |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
Quick Start
First, grab WSGIUtils, at http://www.owlfish.com/software/wsgiutils/, or download it directly from http://www.owlfish.com/software/wsgiutils/downloads/WSGI%20Utils-0.5.tar.gz
You can use other servers with Paste, but WSGIUtils is pretty easy and built on SimpleHTTPServer. Run python setup.py install to install it.
Right now it's best NOT to install Paste with setup.py, but just to run it out of the checkout. An easy way to do that::
./scripts/app-setup create webkit_zpt /path/to/put/files
cd /path/to/put/files
/path/to/paste/scripts/server -v
And it will be running a server on http://localhost:8080/
Peter's Quick Start
First, grab WSGIUtils, at http://www.owlfish.com/software/wsgiutils/, or download it directly from http://www.owlfish.com/software/wsgiutils/downloads/Webware-NEWEST-VERSION.tar.gz
You can use other servers with Paste, but WSGIUtils is pretty easy and built on SimpleHTTPServer. Run python setup.py install to install it.
Right now it's best NOT to install Paste with setup.py, but just to run it out of the checkout. An easy way to do that::
The first two steps should be done if you are reading this text
'python234' is my version of the interpreter
svn co http://svn.pythonpaste.org/Paste/trunk Paste
cd /path/to/Paste/scripts
./paster create --template=webkit_zpt /path/to/put/files
cd /path/to/put/files
export PYTHONPATH=/path/to/put/files/web:$PYTHONPATH
export PYTHONPATH=/path/to/Paste:$PYTHONPATH
edit server.conf
replace 'here' with '/path/to/put/files/'
now you need additional packages:
cd /path/to/Paste/
python234 build-pkg.py
now you can start the server
python234 /Users/pkop/temp/Paste/scripts/paster serve
And it will be running a server on http://localhost:8080/
This steps works for me and my system, there was an import error for the module string. I can't remember where and when it occured. I used Revision 2085.
