Installation & testing

Articles

Installation

1. Unpack, copy to Zope Products directory and restart the instance.
2. Add Protx Tool in ZMI from Add list. It has default id protx_tool.
3. Select storage plugin you want to use: default is ZODB storage. You can change it to SQL storage.
4. If you are using relational database create table defined in ZProtx/sql/Tables.sql.
5. If you have Protx account change Properties: Protx login/Vendor name, Protx password, Protx form action url. If not, use values provided but they will only work for VSPSimulator.

Unit tests

Go to /tests directory and if you are using Windows edit runone.bat and runall.bat and set path to Python executable in your Zope installation folder. On Linux edit runone.sh and runall.sh and do the same. Also run

to make this file executable by shell.

To execute all tests:

To execute tests for one class:

This product was tested on Zope 2.8, 2.9 and 2.10

Known problems
1. If you see this error on Linux:
That means that you are using wrong python version interpreter. You must change PYTHON variable in shell script to use version that Zope uses.

Installation & testing

Installing

Unpack, copy to Zope Products directory and restart the instace. Then add ZPTDebugger Console in ZMI from Add‘ list. It has default id #DebuggerConsole so it appears as a first element in listing.

Unit tests

Go to /tests directory and if you are using Windows edit runone.bat and runall.bat and set path to Python executable in your Zope installation folder. On Linux edit runone.sh and runall.sh and do the same. Also run

to make this file executable by shell.

Rate article
llakomy.com
Add a comment