...
- Install Java SDK
- The current stable release (13.07) needs a minimum of Java 7 ( NOTE: 14.12 will need a minimum of Java 8!)
- If you do not have Java installed then you can download it from here (ADD Link to Java for download)
- Download the latest stable release (ADD link to download)
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:
Code Block $ svn co http://svn.apache.org/repos/asf/ofbiz/branches/release.ofbiz13.07 ofbiz.13.07
- Building OFBiz
- 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
- 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.
- Starting OFBiz
- Once the build is complete, you will need to start OFBiz
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)
- Logging into OFBiz and the backend applications
To
login into the OFBiz 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
- Logging into the e-commerce store
- Stopping OFBiz
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:
Code Block |
---|
$ svn co http://svn.apache.org/repos/asf/ofbiz/branches/release.ofbiz13.07 ofbiz.13.07 |
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
- Logging into the e-commerce store
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
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').
- Stopping OFBiz
To stop OFBiz navigate into the ofbiz directory and enter the following command
Code Block $ ./ant stop