Alert | ||||
---|---|---|---|---|
| ||||
|
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 (1617.1112) needs Java 1.8 as a minimum
- If you do not have Java installed then you can download it from here (ADD Link to Java for download) https://adoptopenjdk.net/
- Download the latest stable release
- You can download the latest stable release via the following link (ADD link to Download): https://ofbiz.apache.org/download.html
- You can download the latest stable release via the following link (ADD link to Download): 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
Code Block ./gradlew loadDefaultloadAll ofbiz
If you are using Windows then enter the following at the command line
Code Block gradlew loadDefaultloadAll 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
- Logging into the E-Commerce Stores
- Stopping OFBiz
- unpack the release file and go into the newly created directory
- using the command line, build the system (with demo data) and run it with the following command:
gradlew loadDefault ofbiz
(on Linux and like use "./gradlew" rather than "gradlew")- point your browser to http://localhost:8080/catalog and login with username "admin" and password "ofbiz"
- refer to the README file for further details
- Building OFBiz
Warning | ||
---|---|---|
| ||
You might need to use Gradle instead of Ant in newer versions, please then refer to the README.MD file at OFBiz folder root |
- 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.
- 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 (
- Once the build is complete, you will need to start OFBiz
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'
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)Info - Logging into the e-commerce storeTo log into the OFBiz E-Commerce Store
- Open your browser (or another browser tab)
- In the URL address bar enter https Webstore you will need to open a browser and enter the following URL
http://localhost:80808443/ecommerce/control/mainCode Block 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').
To start OFBiz, navigate into the ofbiz directory and then run the following command
Code Block |
---|
$ ./ant start |
...
- 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
Code Block ./gradlew "ofbiz --shutdown"
If you are using Windows then enter the following at the command line
Code Block gradlew ofbiz --shutdown
You may as well using Ctrl+C in the terminal were you started OFBiz, either in Linux or Windows.
Info |
---|
A comprehensive INSTALL text file with detailed description of all the commands for running OFBiz can be found in the OFBiz directory |
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page properties | ||
---|---|---|
| ||
Related issues |