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.3.tar.gz (858.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: alstracker-1.4.3.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.3.tar.gz
Algorithm Hash digest
SHA256 a88213df52459c328ee9618961e4c752a743467c599224c76d2a13bb72831ddb
MD5 fd651ad9ee1c8829960897a9bb44689b
BLAKE2b-256 ae77de432d1283f2d00975b80e9cf334523a1d6fb4b901002f2b5ad42da5941a

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