aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.guix_deploy5
-rw-r--r--README.md3
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
diff --git a/README.md b/README.md
index d3470ee..5669192 100644
--- a/README.md
+++ b/README.md
@@ -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