===== Install Treelets on Linux Mint 18.3 Sylvia =====
==== Install Docker ====
# run in Linux bash commands to set up the Docker repository for the first time on a host machine
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
# run in Linux bash install commands:
sudo apt-get update
sudo apt-get install docker
sudo apt-get install docker-compose
sudo apt-get install postgresql-client-common
# run in Linux bash post-install commands:
sudo groupadd docker
sudo usermod -aG docker $USER
# check docker version commands:
sudo docker -v
sudo docker-compose -v
==== Setup Treelets from a binary distribution ====
* Download treelets-docker application for Ubuntu [[https://uniwersytetlodzki-my.sharepoint.com/:f:/g/personal/pelcra_uni_lodz_pl/EtQbBr7dNQVBlpZAKrupqQ8BjQCAsdJFCLJ0e3ZQ1xhb-g?e=sEwg0d|LinuxMint_24_03_2020.zip]]
* Unzip
* Run bash and go inside treelets-docker catalog
==== Run Docker ====
# run in Linux bash commands:
# Build
sudo docker-compose build
# Running
sudo docker-compose up -d
# View instances
sudo docker-compose ps
==== Verify your Treelets installation ====
* Open your favourite Browser and type: http://localhost:8080