This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Page tree
Skip to end of metadata
Go to start of metadata

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 (16.11) needs Java 1.8 as a minimum
    2. If you do not have Java installed then you can download it from here (ADD Link to Java for download)

  2. Download the latest stable release
    1. You can download the latest stable release via the following link (ADD link to Download)

  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

      ./gradlew loadDefault ofbiz

      If you are using Windows then enter the following at the command line

      gradlew loadDefault 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

A comprehensive README.md (Markdown formatted) file with detailed description of all the commands for running OFBiz can be found in the OFBiz directory

2 Comments

  1. Note (for future):

    gradlew loadDefault ofbiz

    Will only work for versions based on the R16.11 branche (ie 16.11.01, etc.)

    It will be

    gradlew loadAll ofbiz

    For later versions

  2. 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.