Ticket #21 (closed task: invalid)

Opened 7 years ago

Last modified 3 years ago

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.

Change History

Changed 6 years ago by ianb

  • status changed from new to closed
  • resolution set to invalid

This is now moot, as installation has changed.

Changed 6 years ago by anonymous

World of Warcraft gold( wow gold)--buy cheap,sell  wow gold.welcome to buy cheap --cheap, easy, purchasing.World of Warcraft,Super fastdelivery of gold, items,and accounts

 膜结构

Changed 6 years ago by anonymous

  • severity changed from minor to blocker
  • component changed from documentation to *paste
  • priority changed from normal to high
  • version svn-trunk deleted
  • milestone set to 1.0
  • type changed from defect to task

Changed 5 years ago by anonymous

  • milestone 1.0 deleted

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.