Prepare the installation

Installation of dependencies

You have to install all the needed dependencies for the main application and the workers. The example below if for Ubuntu:

$ sudo apt-get install nodejs npm python3 python3-pip 

Download the application files

First, you have to download and extract the latest release file. Then select the version to install depending of your operating system:

For Linux:

For Windows:

We don't provide any Windows release for now. However its still possible to check the code out, manually install the dependencies and build the software.

$ mkdir /path/to/your/app && cd /path/to/your/app
$ wget <{RELEASE_VERSION}/opencti-release-{RELEASE_VERSION}.tar.gz>
$ tar xvfz opencti-release-{RELEASE_VERSION}.tar.gz

Install the main platform

Configure the application

The main application has just one JSON configuration file to change and a few Python modules to install

$ cd opencti
$ cp config/default.json config/production.json

Change the config/production.json file according to your configuration of Grakn, Redis, ElasticSearch, RabbitMQ and default credentials (the ADMIN_TOKEN must be a valid UUID).

Install the Python modules

$ cd src/python
$ pip3 install -r requirements.txt
$ cd ../..