diff options
author | Adam Novak | 2020-04-09 16:11:03 -0700 |
---|---|---|
committer | Adam Novak | 2020-04-09 16:11:10 -0700 |
commit | d53e1e98b800d7dc5720de0b3c14c94452159315 (patch) | |
tree | 31f1448752a803f8bc97191ccaef90b0085d61f2 /doc/INSTALL.md | |
parent | 278ff0b42a49b861060eae0c7eb6112e9658fa4e (diff) | |
download | bh20-seq-resource-d53e1e98b800d7dc5720de0b3c14c94452159315.tar.gz bh20-seq-resource-d53e1e98b800d7dc5720de0b3c14c94452159315.tar.lz bh20-seq-resource-d53e1e98b800d7dc5720de0b3c14c94452159315.zip |
Move the web uploader GUIX instructions to the GUIX file
Diffstat (limited to 'doc/INSTALL.md')
-rw-r--r-- | doc/INSTALL.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/INSTALL.md b/doc/INSTALL.md index c5c486c..f7fd811 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -29,3 +29,23 @@ arvados-python-client-2.0.1 ciso8601-2.1.3 future-0.18.2 google-api-python-clien ```sh ~/opt/guix/bin/guix environment guix --ad-hoc git python openssl python-pycurl nss-certs -- python3 bh20sequploader/main.py ``` + +### Using the Web Uploader + +To run the web uploader in a GNU Guix environment + +``` +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 +``` |