If you want to setup OFBiz with your own data and not load the demo data and still have a functional system
Like with the game of chess, you can only start if all parts are in their start position. This is the same as with the OFBiz ERP system, OFBiz is providing this start with the means of demo data. But how to set-up ofbiz using your own information on your local PC with the possibility to use this data on a production server?
This blog will provide an answer by using the build-in 'setup' component, written, and now updated by us. It will guide you through the process of installation, initialization, entering your initial data and the start of the system.
Download the latest version of OFBiz which is preferred above the released versions because of the latest enhancements. (1036323 or later)
Extract the files in your 'home' (Linux) or your disk root directory (Windows: do not use 'program files'!)
Download Java the "JDK” version 6. and select the correct version for your platform.
(Also explained in the README file in the ofbiz root directory)
Open a command line window and enter the following commands after the selecting (cd command) the ofbiz directory:
You have now an installed system.
Start the background system.
To create the background server task, run in the OFBiz home directory:
Wait until the command line window stops scrolling.
Create your own setup data.
In order to startup the setup wizard, start your browser with the url: https://localhost:8443/ofbizsetup , confirm the certification, enter the admin loginid you created earlier and enter the password: ofbiz. The system will ask you to update this password and enter that.
You are now in the system and can create the initial data. If you need assistance press the help button. After creating the company go through all the buttons and enter that data of:
Now check the entered data, and where required update it. If you feel everything is correctly set up, then you can save the entered data in an xml file, to import into other ofbiz systems for example a production server.
After that, press the 'complete' button. This will fix the company settings and will be used by the system. The system will redirect to the catalog manager where you will be asked to login again with the admin user you created. You can also list the existing parties in the party manager: applications → party
Using the system.
Use the following url's in your browser:
Starting the backend: https://localhost:8443/catalog
Starting the e-commerce frontend: http://localhost:8080/ecommerce
Stop the background job, press 'ctrl-c'
Setting up a production environment.
There is an excellent document on the internet how to setup an OFBiz system for production: please read the document at the OFBiz website. With the exported xml files created from the setup component you can load the production database.
If you need any further help let us know at email@example.com , we can provide professional commercial help in various support contracts. Free help from the community can be obtained from the ofbiz mailinglists.
Because we are an OFBiz committer and contributor, we have updated the set-up component while writing the blog. If you find any other problems let us know, so we can make the set-up even better!
Posted on: 2010-11-18 10:51:41.820 By hansbak