In this document i do a description of how install OzTpv from source code. You need knowledget of basic unix system to follow this tutorial.
The first step one you have the sources in your machine is extract it to a directory that your want
now we have sources extracted in our machine. is time to change to the source root directory and edit file Make.rules, in this file we need to adjust the value of same variables to feet with our system. Read the coments in Make.rules for explication of each variable
libAgendaService.so libDomainService.so.1.0.0 libOnRez.so.1.0 libPriceService.so.1 libTpvService.so
libAgendaService.so.1 libFileService.so libOnRez.so.1.0.0 libPriceService.so.1.0 libTpvService.so.1
libAgendaService.so.1.0 libFileService.so.1 libOnRezWidgets.so libPriceService.so.1.0.0 libTpvService.so.1.0
libAgendaService.so.1.0.0 libFileService.so.1.0 libOnRezWidgets.so.1 libProductService.so libTpvService.so.1.0.0
libDomainService.so libFileService.so.1.0.0 libOnRezWidgets.so.1.0 libProductService.so.1
libDomainService.so.1 libOnRez.so libOnRezWidgets.so.1.0.0 libProductService.so.1.0
libDomainService.so.1.0 libOnRez.so.1 libPriceService.so libProductService.so.1.0.0
This software is even in phase beta and it has not been tested in many different systems, if you have problems during build process send us a report to the
project forum pleas give as much information as you can, gcc version that you using,Linux system, Qt and Ice version and compilation error ouput. we try to help you as soon as posible.
at this moment there are same problems with forge.novell forums I hope they solve it quickly
for the correct operation of the server you must add the lib directory of project sources to you LD_LIBRAY_PATH or in to your /etc/ld.so.conf.
Run the server
To run our server we use IcePack service provided by Ice. The config files for the server are under etc directory in the source root. The next comand execute the icepacknode service with a default config file
$cd oztpv-directory/etc
$icepacknode --Ice.Config=config
Register application services
we need to this the fist time that we run the server for register the services with the icepacknode, for do it this we need use the icepackadmin tool provided by Ice distribution
open a new terminal
$cd oztpv-directory/etc
bash-2.05b$ icepackadmin --Ice.Config=config
warning: unknown property: IcePack.Node.Trace.Network
Ice 2.1.0 Copyright 2003-2005 ZeroC, Inc.
This copy of Ice is free software. You are welcome to change it and/or
distribute copies under certain conditions. Type "show copying" to see these conditions.
There is absolutely no warranty for Ice. Type "show warranty" for details.
# application add "application.xml"
# server list
#TpvServer
#FileServer
#PriceServer
#AgendaServer
#DomainServer
#ProductServer
#
#server start FileServer
#server start DomainServer
#server start AgendaServer
#server start ProductServer
#server start PriceServer
#server start TpvServer
#quit (return to console)
$
Configure client app
In the bin directory you can found the following files:
- SalePointAdmin this application is designed for the system admins
- SalePoint application is designed to run in a touch screen terminal
- config this file contains network configuration
- profile.xml this file contains and xml profile to be used with client applications
- mime.xml this file contains a description of valid MIME types used by client applications
The config file
This is a basic config file for run the server and client in the same host you must add -h your.ipaceknode.host before -p to connect with a server in dirent host.
this file is write using standar Ice properties, you can read about Ice.Config properties in the Ice programers guide abailable as pdf in
ice downloads page
#
# Power by On-ReZ
#
# The IcePack locator proxy.
#
Ice.Default.Locator=IcePack/Locator:default -p 12000
Ice.MessageSizeMax=2048
Running admin application
$cd your-source-directory/trunk/bin
./SalePointAdmin
before running the sale application in the terminals you must create same object from the admin interface.
in the OzTpv users guide we explain how to do it
Running SalePoint application in a terminal
Before running the sale point application you must edit
tow properties in profile.xml to adjust your needs
$cd oztpv-directory/bin
./SalePoint
Features
- Open Source
- Multiplataform
- Object oriented design
- Distributed services architecture
- Easy to use
- Manage multiple busnisses
- User managament
- Magament a product catalog with great features
- Multiple prices list for the catalogs
- Graphic interfaces for users and admins
TODO list
- Create better and more extensive documentation for users and developers
- Ticket printing system
- Work with bar-code scanners
- Develop a web interface to the system
- Finish the ACL (Access control list) implementation
- Create a backup restore system
Forums
If you are interesting in this project, you need more info, help or you want suggest us same thing
please visit our forums page at forge.novell
We have same problems with forge.novell forums, we hope that they repair this quickly if you can contact me send me a email to pepone dot onrez in gmail dot com domain. please include oztpv word in the subject of the message to easy filter messages