Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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.

       

       

  4. Logging into the BackEnd Applications
  5. Logging into the E-Commerce Stores
  6. 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

 

  1. Building OFBiz

 

Gradle

You might need to use Gradle instead of Ant in newer versions, please then refer to the README.MD file at OFBiz folder root

 

  1. OFBiz comes with Apache Ant included and Ant is used to build OFBiz.
  2. To build OFBiz navigate into the ofbiz directory and then run the following command

    $ ./ant load-demo
    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.
  1. Starting OFBiz
    1. Once the build is complete, you will need to start OFBiz
    2. To start OFBiz, navigate into the ofbiz directory and then run the following command

      $ ./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)

  2. Logging into OFBiz and the backend applications
    1. To log into OFBiz and its backend applications you will need to open a browser and enter the following URL

      https://localhost:8443/accounting/control/main
    2. 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' etc



  3. Logging into the e-commerce store
    1. To log into the OFBiz E-Commerce Webstore you will need to open a browser and enter the following URL

      http://localhost:8080/ecommerce/control/main
      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').



    1.  

 

  • No labels