Development stack require some base software that need to be installed.
Platform dependencies in development are deployed through container management, so you need to install a container stack.
We currently support docker and podman.
$ sudo apt-get install docker docker-compose curl
sudo apt-get -y install podman
As OpenCTI has a dependency to ElasticSearch, you have to set the vm.max_map_count before running the containers, as mentioned in the ElasticSearch documentation.
$ sudo sysctl -w vm.max_map_count=262144
The platform is developed on nodejs technology, so you need to install node and the yarn package manager.
$ sudo apt-get install nodejs
$ sudo curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
$ sudo echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
$ sudo apt-get update && sudo apt-get install yarn
For worker and connectors, a python runtime is needed.
$ sudo apt-get install python3 python3-pip
- Install Git from apt
$ sudo apt-get install git-all
- Install your preferred IDE
- Intellij community edition - https://www.jetbrains.com/idea/download/
- VSCode - https://code.visualstudio.com/