Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added instructions for users wishing to start Joget at boot up.
  1. Install the Java Runtime Environment (JRE) or Java Development Kit (JDK) version 7 and above from http://java.oracle.com
  2. Install MySQL Server version 5.5 and above from https://www.mysql.com/downloads/
  3. Download the Joget Workflow Linux tar.gz bundle from http://www.joget.org/download
  4. Create a new directory and extract the Linux tar.gz bundle into that directory
  5. Execute the bundled Apache Tomcat application server: ./tomcat8.sh start
  6. Access the App Center at http://localhost:8080/jw
  7. Follow on with Setting Up Database.

    Warning

    For the Community Edition, you will need to delete the default datasource configuration file first before setting up the database:

    rm wflow/app_datasource.properties

Starting Joget Automatically Upon macOS Startup

Familiarity with Terminal, the sudo command, and the general concepts surrounding Launch Daemons and launchd is recommended.

These instructions assume that you placed Joget in /usr/local/joget. If not, you'll need to change the Working Directory key in the plist file shown below to match your own installation.

First, ensure that you have a working installation of Joget.

Then create /Library/LaunchDaemons/org.joget.plist with the following content:

Code Block
xml
xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Disabled</key>
        <false/>
        <key>EnvironmentVariables</key>
        <dict>
                <key>JAVA_OPTS</key>
                <string>-XX:MaxPermSize=128m -Xmx512M -Dwflow.home=./wflow/</string>
        </dict>
        <key>Label</key>
        <string>local.job</string>
        <key>ProgramArguments</key>
        <array>
                <string>sh</string>
                <string>apache-tomcat-8.0.20/bin/catalina.sh</string>
                <string>run</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StandardErrorPath</key>
        <string>/tmp/local.job.stderr</string>
        <key>StandardOutPath</key>
        <string>/tmp/local.job.stdout</string>
        <key>WorkingDirectory</key>
        <string>/usr/local/joget/</string>
</dict>
</plist>

Note: If you have no desire for logging, delete the StandardErrorPath and StandardOutPath key/value pairs.