If you would like to try the ALSTracker, we host it at the MPI Dortmund:
https://alstracker.mpi-dortmund.mpg.de/
- Install a linux, e.g. Ubuntu
- Install git
sudo apt install git
- Install nginx
sudo apt install nginx
- Install supervisorctl
sudo apt install supervisor
- Download and unzip mogp model: https://fraenkel.mit.edu/mogp/
- Download and install miniforge
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
MINICONDA_DIR=~/miniforge3
${MINICONDA_DIR}/bin/conda init
- Logout and login again
conda activate alstracker
pip install alstracker
- Clone this repository
git clone https://github.com/MPI-Dortmund/ALSTracker
cd ALSTracker
- Create a new conda environment
conda env create -f ./conda.yaml
- Adjust the variables
XXX_RUN_DIR_XXX
,XXX_MINIFORGE_XXX
,XXX_USER_XXX
,XXX_GROUP_XXX
,XXX_MOGP_PKL_XXX
based on the decisions in the previous steps ingunicorn_start.sh
- Adjust the
command
,stdout_logfile
,user
variables inals_tracker.conf.template
- Copy or link the
als_tracker.conf.template
to/etc/supervisor/conf.d
sudo ln -s $(realpath als_tracker.conf.template) /etc/supervisor/conf.d/als_tracker.conf
- Start the tracker
sudo supervisorctl start als_tracker
- Adjust the variables
XXX_RUN_DIR_XXX
,XXX_LOG_DIR_XXX
,XXX_SERVERNAME_XXX
in the nginx.template- Make sure that the
XXX_LOG_DIR_XXX
directory is writable for thewww-data
group. For example if you chose a directory in your home directory, make sure to allow r/w to the www-data group. (e.g.sudo chgrp www-data .
)
- Make sure that the
- Copy or link the
nginx.template
to/etc/nginx/sites-enabled
sudo ln -s $(realpath nginx.template) /etc/nginx/sites-enabled/als_tracker.site
- Get a certificate for the SERVERNAME (This should alter your als_tracker.site file)
sudo snap install certbot --classic
sudo certbot --nginx
- Restart nginx
sudo systemctl restart nginx