Quick Installation
A quick local installation lets you start developing with tribefire in no time.
On this page
General
A local tribefire installation consists of the latest version of our platform and an Apache Tomcat server used to host it, provided by the Jinni build tool.
Prerequisites
Before installing tribefire, ensure that you have the following:
- Java version 8 (recommended) up to Java version 10.
- The Jinni Package
Java
Oracle Java JDK
- Navigate to https://java.com/en/download/, download, and install the JDK 1.8.121 or later
- Make sure that the JAVA_HOME and the PATH system environment variables are set to the root (directory which contains the binfolder) directory of your Java installation. You can check it by opening a command prompt and running thejavac -versioncommand.
Open JDK
- Navigate to https://openjdk.java.net/install/index.html, download, and install the OpenJDK 8 or later package.
- Make sure that the JAVA_HOMEand thePATHsystem environment variables are set to the root (directory which contains thebinfolder) directory of your Java installation. You can check it by opening a command prompt and running thejavac -versioncommand.
Jinni
Jinni is an application used to set up Tribefire by evaluating platform setup requests. You can pass service requests to Jinni with the command line or using a JSON file. Jinni is necessary to work with platform assets.
Note that Jinni uses Maven to resolve dependencies, so configuring your Maven settings correctly is necessary for Jinni to work.
To set up Jinni:
- Configure Apache Maven as described below. - Navigate to https://maven.apache.org/download.cgi/, download, and install Maven 3.5.2 or later.
- Make sure that the PATHsystem environment variable is set to the root directory of your Maven installation (one containing thebinfolder). You can check it by opening a command prompt and running themvn --versioncommand.
- Add the following system environment variables (we're using them later in the provided Maven settings file):
 Name Value MYPROJECT_LOCAL_REPOSITORYPath to your local Maven repository MYPROJECT_TRIBEFIRE_REPOSITORY_USERYour user name on the remote Tribefire repository MYPROJECT_TRIBEFIRE_REPOSITORY_PASSWORDYour password on the remote Tribefire repository MYPROJECT_TRIBEFIRE_REPOSITORY_NAMEThe name of a repository you want to download dependencies from, typically core-stable. For more information, see the section below.MYPROJECT_DISTRIBUTION_REPOSITORY_USERYour user name on the remote distribution repository (one where you would save your Tribefire artifacts, for example your company's remote repository). If you don't have access to such repository, ignore this variable. MYPROJECT_DISTRIBUTION_REPOSITORY_PASSWORDPassword to the remote distribution repository MYPROJECT_DISTRIBUTION_REPOSITORY_NAMEName of the remote distribution repository where you will save your Tribefire artifacts. If you don't have access to such repository, you'll need to modify the settings.xml template to point to a local folder instead (explained below). In any case, you need to add this repository in Control Center/CortexConfigurationonce Tribefire is installed, so that Tribefire knows where to save your artifacts.Note that the MYPROJECTpart of the variable is a placeholder used to describe the project/company you work for, for example:ACME_LOCAL_REPOSITORYorPROJECTX_TRIBEFIRE_REPOSITORY_USER. Variable names do not matter as long as you are consistently using them insettings.xml.- 
Make sure you have the correct configuration in your .m2/settings.xmlfile:If you have no access to a distribution repository, you need to replace it in the setting.xmlfile with a local remote repository. You can use the snippet below:<repository> <id>localRemoteRepository</id> <layout>default</layout> <url>LOCAL_FOLDER_PATH</url> <snapshots> <enabled>false</enabled> </snapshots> <releases> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </releases> </repository>You can download the settings.xmltemplate here.Make sure to provide the correct values for localRepository,localRemoteRepository,username, andpassword.
 
- Download the Jinni package. For information on where do download Tribefire components from, see below. Follow the links below to download latest tribefire core components, selected cartridges and related tools. JinniJinni is a CLI tool provided by Braintribe, enabling you to install Tribefire on a local Tomcat host. You can download the Jinni Package here (authentication required). The list below provides Maven setup dependencies for each asset. You can directly copy these into the --setupDependencypart of your Jinni command, as in--setupDependency groupId:artifactId.Available AssetsAsset Download Link Jinni --setupDependencyTribefire client dependencies tribefire-client-default-deps Dependencies required to communicate with tribefire-servicesthrough the Java API.tribefire Modeler tribefire-modeler tribefire.cortex.modeler:tribefire-modeler#2.0Enablement Cartridges 
 Setupstribefire-demo-cartridge 
 tribefire-simple-cartridgetribefire.extension.demo:tribefire-demo-setup#2.0tribefire.extension.simple:simple-cartridge-setup#2.0Enablement Cartridges 
 Source codeEnablement Maven Artifacts Download the zip-file with the latest version Product Cartridges tribefire-ldap-cartridge 
 tribefire-shiro-cartridge
 swagger-model-import-cartridgetribefire.extension.ldap:ldap-setup#2.0tribefire.extension.shiro:shiro-setup#2.0tribefire.extension.swagger:swagger-model-import-setup#2.0Aggregators tribefire-standard-aggregator tribefire.cortex.assets:tribefire-standard-aggregator#2.0Plugins jdbcplugins Check on individual plugins 
- Unzip the downloaded archive to a location of your choice (e.g. /development/jinni).
- Add jinni's bin folder (e.g. /development/jinni/bin) to thePATHvariable of your operating system.