paulb@187 | 1 | Make a symbolic link to the example product directory from within the
|
paulb@187 | 2 | appropriate Zope instance's Products directory:
|
paulb@187 | 3 |
|
paulb@187 | 4 | cd Zope/instances/Products
|
paulb@187 | 5 | ln -s ../../../WebStack/examples/Zope/SimpleProduct
|
paulb@187 | 6 |
|
paulb@187 | 7 | Or copy the example product directory into the Zope instance's Products
|
paulb@187 | 8 | directory:
|
paulb@187 | 9 |
|
paulb@187 | 10 | cp -R WebStack/examples/Zope/SimpleProduct Zope/instances/Products/
|
paulb@187 | 11 |
|
paulb@191 | 12 | Then configure the etc/zope.conf file to add details of the example
|
paulb@191 | 13 | application and the WebStack package. In the appropriate section, add the
|
paulb@191 | 14 | following directives (adjusted for the exact configuration):
|
paulb@187 | 15 |
|
paulb@187 | 16 | path /home/paulb/Software/Python/WebStack
|
paulb@187 | 17 | path /home/paulb/Software/Python/WebStack/examples/Common
|
paulb@187 | 18 |
|
paulb@187 | 19 | Upon starting or restarting Zope, add the example product using the management
|
paulb@187 | 20 | interface (eg. add "Simple product" as "test") and then visit the anticipated
|
paulb@187 | 21 | URL; for example:
|
paulb@187 | 22 |
|
paulb@187 | 23 | http://localhost:8080/test
|