How to install OFBiz with the Demo Data - OFBiz Project Open Wiki (2024)

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:

  1. Install Java SDK
    1. The current stable release (17.12) needs Java 1.8 as a minimum
    2. If you do not have Java installed then you can download it from here https://adoptopenjdk.net/
  2. Download the latest stable release
    1. You can download the latest stable release via the following link: https://ofbiz.apache.org/download.html
  3. Building and Starting OFBiz
    1. Extract the downloaded zip file
    2. Open a terminal and navigate into the newly created directory
    3. If you are using Linux enter the following at the command line

      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.

  4. Logging into the BackEnd Applications
    1. Open your browser
    2. In the URL address bar enter https://localhost:8443/accounting
    3. The OFBiz login screen will be displayed
    4. Enter "admin" as the username and "ofbiz" as the password
    5. The OFBiz Accounting Manager application screen will be displayed
    6. 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)
  5. Logging into the E-Commerce Store
    1. Open your browser (or another browser tab)
    2. In the URL address bar enter https://localhost:8443/ecommerce/control/main
    3. The default OFBiz E-Commerce store screen will be displayed
    4. You have can create orders, register as a new customer or use DemoCustomer as an existing e-commerce customer login
  6. Stopping OFBiz
    1. Open another terminal and navigate to the ofbiz directory
    2. 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.

A comprehensive INSTALL text file with detailed description of all the commands for running OFBiz can be found in the OFBiz directory

How to install OFBiz with the Demo Data - OFBiz Project Open Wiki (2024)
Top Articles
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 5335

Rating: 4.3 / 5 (44 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.