...
- Install Java SDK
- The current stable release (13.07) needs a minimum of Java 7 ( NOTE: 14.12 will need a minimum of Java 8!)
- If you do not have Java installed then you can download it from here (ADD Link to Java for download)
- Download the latest stable release (ADD link to download)
NOTE: Optional - If you have Apache Subversion installed then instead of just downloading the stable release you can checkout the code from the OFBiz repository.
To do this you can run the following command:
Code Block $ svn co http://svn.apache.org/repos/asf/ofbiz/branches/release.ofbiz13.07 ofbiz.13.07
- Building OFBiz
- OFBiz comes with Apache Ant included and Ant is used to build OFBiz.
To build OFBiz navigate into the ofbiz directory and then run the following command
Code Block $ ./ant load-demo
Info NOTE: This will build OFBiz using the version of Apache Ant that is included. It will also load the demo data that will help you understand OFBiz by seeing some sample transactions and reports.
- Starting OFBiz
- Once the build is complete, you will need to start OFBiz
To start OFBiz, navigate into the ofbiz directory and then run the following command
Code Block $ ./ant start
NOTE: If you are running Windows you will need to use the command terminal and run the ant start.bat (NOTE - check if this is correct)
- Logging into OFBiz and the backend applications
To log into OFBiz and its backend applications you will need to open a browser and enter the following URL
Code Block https://localhost:8443/accounting/control/main
Once the login screen appears
Login using the user 'admin' with the password 'ofbiz'
Info NOTE: All the parties setup with the demo data have the default password 'ofbiz' so you can also login as 'DemoCustomer', 'DemoSupplier' or 'DemoEmployee' etc
- Logging into the e-commerce store
To log into the OFBiz E-Commerce Webstore you will need to open a browser and enter the following URL
Code Block http://localhost:8080/ecommerce/control/main
Info NOTE: You can test the webstore features including shopping cart, blog, newsletter subscriptions, promotions and also buy products using the DemoCustomer profle (User Id = DemoCustomer, password = 'ofbiz').
- Stopping OFBiz
To stop OFBiz navigate into the ofbiz directory and enter the following command
Code Block $ ./ant stop
General Setup
Parties
In OFBiz there is the concept of a party. A party can be an individual person or it can be a group (e.g. an organisation). The party manager application allows you to create both individuals and groups.
A party is also associated with a role, e.g. SUPPLIER, CUSTOMER or EMPLOYEE
The roles are used to help OFBiz manage how the party will interact with the OFBiz applications. A party can have multiple roles.
Parties can be created automatically (e.g. via the e-commerce store when a customer registers) or manually. A customer registering via the ecommerce store is automatically given the role of CUSTOMER.
When you create a new party manually in the Party Manager application you will see that there are some options to directly create a party and assign a role automatically. If you use the
Create New Party Group
Create New Person
then you will have to add the roles manually to them
Accounting
Facilities
Webstore