Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The OFBiz demo data includes a Party with ID "admin" and it has a number of UserLogin accounts associated with it that have varying permissions. Note the following configuration changes:
1. For production systems the passwords on all UserLogin accounts associated with the "admin" party should be changed from their default values.
2. The default password for the "admin" userLoginId is "ofbiz", as it is for the "flexadmin" and "demoadmin" accounts.
The "1" account is meant to be used with the POS system so the new password should include only numbers to make it easier to use with the POS client.

Expert Recommendation: while the "admin" party is the most critical to make sure the passwords are changed for, there are other parties you should check, and change the password for all User Login accounts associated with these parties. This includes "ltdadmin" and "externaluser" and if the demo data is loaded (done by default) then also the users "DemoBuyer", "DemoRepAll", and "DemoRepStore".

...

${ofbiz install dir}/framework/widget/config/widget.properties

  • To ease development (Out Of The Box, OFBiz is configured in development mode) the compressHTML properties in general.properties if OFF. If you prefer to strip unnecessary whitespace from HTML output you can set it on ON (uncomment the line "#compress.HTML=true"). Note that, it is NOT the same thing as gzipped HTTP 1.1 compression.

...

Then to access the application from your browser follow advices in Demo and Test Setup Guide
For production use you will want to setup a start script that contains special settings for things like memory heap size, and so on. There are example start and stop scripts in the root ofbiz directory in the startofbiz.sh and stopofbiz.sh files.
Expert Recommendation: Instead of running the startup and shutdown scripts manually it might be a good idea to set them up as services on the system, or use something like daemontools to make sure the process is restarted automatically if it goes down for some reason.

Running OFBiz Automated Tests

...

There are many files under the specialpurpose/pos directory that you may want to customize as you set it up.
The receipt templates are .txt files in the config directory there.
The screens are configured through XUI in various files under the screens/default directory. There is a default set for 1024x768 screen (in default directory), and a 800x600 preset. To use 800x600, you must modify 3 properties in xpos.properties : StartClass, ClientWidth and ClientHeight
Button events are configured in the config/buttonevents.xml file.
The POS is translatable, see the config directory.

...