The Artima Developer Community
Sponsored Link

Python Buzz Forum
Zope 3 applications from eggs and buildout

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Baiju M

Posts: 225
Nickname: baijum81
Registered: Aug, 2004

Baiju M is a new user
Zope 3 applications from eggs and buildout Posted: Apr 3, 2007 7:11 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Baiju M.
Original Post: Zope 3 applications from eggs and buildout
Feed Title: Programming life without Python(?)
Feed URL: http://baijum81.livejournal.com/data/rss
Feed Description: Programming life without Python(?)
Latest Python Buzz Posts
Latest Python Buzz Posts by Baiju M
Latest Posts From Programming life without Python(?)

Advertisement
Here I will introduce two Zope 3 applications created solely
from eggs using Buildout.

First application will display 'Hello' when you access
http://localhost:8080/hello . You can checkout this from here:
svn://svn.zope.org/repos/main/Sandbox/baijum/z3hello/trunk .

Here is the steps to run the application:

  $ svn co svn://svn.zope.org/repos/main/Sandbox/baijum/z3hello/trunk z3hello
  $ cd z3hello
  $ python2.4 bootstrap.py
  $ ./bin/buildout -N
  $ ./bin/instance start

Now, from your browser go to : http://localhost:8080/hello

Running bootstrap.py will install setuptools and zc.buildout and it
will create a directory for building your the application. You can
run `bin/buildout` script created by bootstrap.py to build the
application. Then you are ready to start server using `bin/instance`
script created by buildout command.

You can try the ZWiki (Zope 3 version) similarly:

  $ svn co svn://svn.zope.org/repos/main/zwiki/branches/baijum-experimental-zwiki zwiki
  $ cd zwiki
  $ python2.4 bootstrap.py
  $ ./bin/buildout -N
  $ ./bin/instance start

To see Wikis in action, go into the management interface and add a
Wiki object named `mywiki`. Leave the two preselected options.

To access ZMI: http://localhost:8080/manage (username: admin,
password: admin)  Then visit: http://localhost:8080/++skin++wiki/mywiki

I know there are many "Why" questions. I suggest you to read about
Setuptools and Buildout for the answers. And if you know the
questions with answers, I welcome you to add it here as comments! :)

Read: Zope 3 applications from eggs and buildout

Topic: Exciting stuff in Python 2.5 Previous Topic   Next Topic Topic: Ugadi, Weekend, Office, Zope 3, Buildout

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use