Please follow the steps below to install OFBiz with the demo data locally on your own machine.
Step-by-step guide
The main steps for installing OFBiz locally are as follows:
- Install Java SDK
- The current stable release (17.12) needs Java 1.8 as a minimum
- If you do not have Java installed then you can download it from here https://adoptopenjdk.net/
- Download the latest stable release
- You can download the latest stable release via the following link: https://ofbiz.apache.org/download.html
- You can download the latest stable release via the following link: https://ofbiz.apache.org/download.html
- Building and Starting OFBiz
- Extract the downloaded zip file
- Open a terminal and navigate into the newly created directory
If you are using Linux enter the following at the command line
./gradlew loadAll ofbiz
If you are using Windows then enter the following at the command line
gradlew loadAll ofbiz
This command will build OFBiz, load the demo data and also start OFBiz running.
NOTE: That the terminal running OFBiz will remain active.
- Logging into the BackEnd Applications
- Open your browser
- In the URL address bar enter https://localhost:8443/accounting
- The OFBiz login screen will be displayed
- Enter "admin" as the username and "ofbiz" as the password
- The OFBiz Accounting Manager application screen will be displayed
- You have now logged into OFBiz and can now navigate and use any of the back end applications (NOTE:All the parties setup with the demo data have the default password 'ofbiz' so you can also login as 'DemoCustomer', 'DemoSupplier' or 'DemoEmployee' 'Accounting' etc)
- Logging into the E-Commerce Store
- Open your browser (or another browser tab)
- In the URL address bar enter https://localhost:8443/ecommerce/control/main
- The default OFBiz E-Commerce store screen will be displayed
- You have can create orders, register as a new customer or use DemoCustomer as an existing e-commerce customer login
- Stopping OFBiz
- Open another terminal and navigate to the ofbiz directory
If you are using Linux enter the following at the command line
./gradlew "ofbiz --shutdown"
If you are using Windows then enter the following at the command line
gradlew ofbiz --shutdown
You may as well using Ctrl+C in the terminal were you started OFBiz, either in Linux or Windows.
2 Comments
Jacques Le Roux
Note (for future):
Will only work for versions based on the R16.11 branche (ie 16.11.01, etc.)
It will be
For later versions
Sharan Foga
Hi Jacques - thanks for the comment. As this is for the end user guide I will use the latest stable release as the basis for the commands.