Install Git and Pull the project
sudo apt-get update
sudo apt-get install git
git clone https://github.com/Linker175/Astrolabium-API.git
cd Astrolabium-API2
Install Docker and the CLI app (and their dependencies) Source the venv needed. Then first launch the app
bash download_component.sh
source ../CLI-Admin-test/venv/bin/activate
bash first_run.sh
nano docker-compose.yml
Run the file inside docker
sudo docker-compose up -d
Run the creation of the users for mariadb
sudo bash database_user.sh
Go delete mariadb root password from the two files :
nano docker-compose.yml
nano variables.py
docker ps -a
//if status up : running, if status down : stopped
docker logs {container name}
sudo docker stop {dockername1} {dockername2} ...
sudo docker start {dockername1} {dockername2} ...
sudo docker rm {dockername1} {dockername2} ...