Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install Java SDK
    1. The current stable release (13.07) needs a minimum of Java 7 ( NOTE: 14.12 will need a minimum of Java 8!)
    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 (ADD link to download)
    1. NOTE: Optional - If you have Apache Subversion installed then instead of just downloading the stable release you can checkout the code from the OFBiz repository. 

      To do this you can run the following command:a command like this one depending on the last stable version

      Code Block
      $ svn co http://svn.apache.org/repos/asf/ofbiz/branches/release.ofbiz13.07 ofbiz.13.07
  3. Building OFBiz

 

Warning
titleGradle

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

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

      Code Block
      $ ./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 

      Code Block
      https://localhost:8443/accounting/control/main
    2. Once the login screen appears

      Login using the user 'admin' with the password 'ofbiz'

      Info
      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 

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



  4. Stopping OFBiz
    1. To stop OFBiz navigate into the ofbiz directory and enter the following command

      Code Block
      $ ./ant stop

...