From f27a6a3e3be2446660e2f59c1106dcaba32971cf Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 10 Apr 2020 12:13:00 -0500 Subject: Note on running container with Guix --- doc/INSTALL.md | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3