diff options
author | Pjotr Prins | 2022-01-01 21:19:28 +0100 |
---|---|---|
committer | Pjotr Prins | 2022-01-01 21:19:28 +0100 |
commit | af52afa4318feadfa3cd1cc4dcdd3d86907f68a4 (patch) | |
tree | 85ddb1c664c19a7c4d215520d420050b0bbe3d75 | |
parent | 34a9774480d6e98de8acd4a0a2a521407b710b92 (diff) | |
download | genenetwork3-af52afa4318feadfa3cd1cc4dcdd3d86907f68a4.tar.gz |
guix_deploy
-rw-r--r-- | .guix_deploy | 5 | ||||
-rw-r--r-- | README.md | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.guix_deploy b/.guix_deploy index 3b2e097..c7bbb5b 100644 --- a/.guix_deploy +++ b/.guix_deploy @@ -1,3 +1,8 @@ # Deploy script on tux01 +# +# echo Run tests: +# echo python -m unittest discover -v +# echo Run service (single process): +# echo flask run --port=8080 /home/wrk/opt/guix-pull/bin/guix shell -L /home/wrk/guix-bioinformatics/ --expose=$HOME/production/genotype_files/ -C -N -Df guix.scm @@ -38,7 +38,6 @@ python3 guix shell -C --network --expose=$HOME/genotype_files/ -Df guix.scm ``` - #### Using a Guix profile (or rolling back) Create a new profile with @@ -128,6 +127,8 @@ And for the scalable production version run gunicorn --bind 0.0.0.0:8080 --workers 8 --keep-alive 6000 --max-requests 10 --max-requests-jitter 5 --timeout 1200 wsgi:app ``` +(see also the [.guix_deploy](./.guix_deploy) script) + ## Using python-pip IMPORTANT NOTE: we do not recommend using pip tools, use Guix instead |