Source code
Welcome to Apache OFBiz ! A powerful top level Apache software project. OFBiz is an Enterprise Resource Planning (ERP) System written in Java and houses a large set of libraries, entities, services and features to run all aspects of your business. Note - If you want to run OFBiz without an internet connection, read the Running gradle tasks without an internet connection section. Note - The directory structure and repositories have changed. For more information read the Repository and directory structure section. to have the Java Development Kit (JDK) version 17 installed on your system (not just the JRE, but the full JDK) that you can download from the link below. Make sure to set the $JAVA HOME environment variable. JDK download. To know more about the JDK If on Windows, a Powershell version = 7.1.3 installed that you can download from the below link. Powershell To quickly install and fire-up OFBiz, please follow the below instructions from the command line at the OFBiz top level directory (folder). follow the advice at: If you want more details see: If you run into problems, check the execution policy of PowerShell. See for details. By setting the execution policy to "unrestricted", you'll be prompted to run the script once you run the init-gradle-wrapper command. Warning - This command deletes all previous data and resets it to the initial demo data. If you want to set and use Docker, here is the documentation. Note - Currently, deployment configuration is tied to the source code. If you want to separate deployment configuration from production code we recommend using Docker, see Docker section above. Following is a simple production setup. For more detailed information visit Apache OFBiz Technical Production Setup Guide. Copy the archive from build/distributions directory to the server and unarchive them with tar xf or unzip . From the unarchived directory you can run either bin/ofbiz shell script or bin/ofbiz.bat batch script. Unix-like OS: This article might give you an idea, although it seems to be outdated. Either way, you can use the standard mechanism of your distribution, like for example creating an /etc/systemd/system/ofbiz.service file. On Windows you might get the following error when trying to run the ofbiz.bat script: The input line is too long. The syntax of the command is incorrect. The current workaround is to clone the repository and run gradlew commands from the root folder instead. All build tasks are executed using the Gradle build system which is embedded in OFBiz. To execute build tasks go to OFBiz top-level directory (folder) and execute tasks from there. Standard tasks : To execute general standard Gradle tasks OFBiz server tasks : To execute OFBiz startup commands. These tasks start with one of the following words: ofbiz : standard server commands ofbizBackground : server commands running in a background forked process You can use the below common list of tasks as a quick reference for controlling the system. This document uses the windows task syntax, if you are on a Unix-like system, you need to add the ./ to gradlew i.e. ./gradlew Terminate all running OFBiz server instances by calling the appropriate operating system kill command. Use this command to force OFBiz termination if the --shutdown command does not work. Usually this is needed when in the middle of data loading or testing in OFBiz. You can pass JVM runtime options by specifying the project property -PjvmArgs . seed : OFBiz and External Seed Data - to be maintained along with source and updated whenever a system deployment is updated seed-initial : OFBiz and External Seed Data - to be maintained along with source like other seed data, but only loaded initially and not updated when a system is updated except manually reviewing each line demo : OFBiz Only Demo Data ext : External General Data (custom) ext-test : External Test Data (custom) ext-demo : External Demo Data (custom) tenant : Data to load into the master t
Excerpt from the source-code README · 30,713 chars · not written by Vinony