Skip to main content

Bayesian ALS Tracking and Phase Evaluation

Project description

Bayesian ALS Tracking and Phase Evaluation

If you would like to try the ALSTracker, we host it at the MPI Dortmund:

https://alstracker.mpi-dortmund.mpg.de/

How to install your own server (Ubuntu)

  1. Install a linux, e.g. Ubuntu
  2. Install git sudo apt install git
  3. Install nginx sudo apt install nginx
  4. Install supervisorctl sudo apt install supervisor
  5. Download and unzip mogp model: https://fraenkel.mit.edu/mogp/
  6. 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
  7. Clone this repository git clone https://github.com/MPI-Dortmund/ALSTracker
  8. cd ALSTracker
  9. Create a new conda environment
    • conda env create -f ./conda.yaml
  10. 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 in gunicorn_start.sh
  11. Adjust the command, stdout_logfile, user variables in als_tracker.conf.template
  12. 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
  13. Start the tracker
    • sudo supervisorctl start als_tracker
  14. 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 the www-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 .)
  15. Copy or link the nginx.template to /etc/nginx/sites-enabled
    • sudo ln -s $(realpath nginx.template) /etc/nginx/sites-enabled/als_tracker.site
  16. Get a certificate for the SERVERNAME (This should alter your als_tracker.site file)
    • sudo snap install certbot --classic
    • sudo certbot --nginx
  17. Restart nginx
    • sudo systemctl restart nginx

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alstracker-1.4.2.tar.gz (858.5 kB view details)

Uploaded Source

File details

Details for the file alstracker-1.4.2.tar.gz.

File metadata

  • Download URL: alstracker-1.4.2.tar.gz
  • Upload date:
  • Size: 858.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for alstracker-1.4.2.tar.gz
Algorithm Hash digest
SHA256 fcf9d572c229882171d7054b943706bd47940e30a716787056e3297013fba897
MD5 cffc5853beaa301b11ce6ec73e891d27
BLAKE2b-256 980bf2f2c03a0c99b04f08a2e20f46bd52a50dd5a142d89be3961f02906bdc5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page