diff options
author | Pjotr Prins | 2020-04-10 12:13:00 -0500 |
---|---|---|
committer | Pjotr Prins | 2020-04-10 12:13:00 -0500 |
commit | f27a6a3e3be2446660e2f59c1106dcaba32971cf (patch) | |
tree | ef77c8fc0b32df40e5d1c972067d78a647bf8a4e /doc | |
parent | 686bb7e2b3e3bdb326553f2094a07d4f987e303b (diff) | |
download | bh20-seq-resource-f27a6a3e3be2446660e2f59c1106dcaba32971cf.tar.gz bh20-seq-resource-f27a6a3e3be2446660e2f59c1106dcaba32971cf.tar.lz bh20-seq-resource-f27a6a3e3be2446660e2f59c1106dcaba32971cf.zip |
Note on running container with Guix
Diffstat (limited to 'doc')
-rw-r--r-- | doc/INSTALL.md | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/doc/INSTALL.md b/doc/INSTALL.md index 5e9e7e9..bde9dd2 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -34,22 +34,16 @@ guix environment guix --ad-hoc git python openssl python-pycurl nss-certs -- pyt ### Using the Web Uploader -To run the web uploader in a GNU Guix environment +To run the web uploader in a GNU Guix environment/container ``` -guix environment guix --ad-hoc git python python-flask python-pyyaml nss-certs --network openssl -- env FLASK_APP=bh20simplewebuploader/main.py flask run -``` - -The containerized version looks like - -``` -guix environment -C guix --ad-hoc git python python-flask python-pyyaml nss-certs --network openssl -``` - -and - -``` -env FLASK_APP=bh20simplewebuploader/main.py flask run +guix environment -C guix --ad-hoc git python python-flask python-pyyaml nss-certs --network openssl -- env FLASK_APP=bh20simplewebuploader/main.py flask run + * Serving Flask app "bh20simplewebuploader/main.py" + * Environment: production + WARNING: This is a development server. Do not use it in a production deployment. + Use a production WSGI server instead. + * Debug mode: off + * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) ``` WIP: add gunicorn container |