diff options
author | Pjotr Prins | 2020-04-10 11:48:24 -0500 |
---|---|---|
committer | Pjotr Prins | 2020-04-10 11:48:24 -0500 |
commit | 42bef034915c84d3e3ee71d018a37f4292da5504 (patch) | |
tree | d80a26e2c9ddff9ef06b8f38c87ad483bd58ced2 | |
parent | ddabd9390d2b221786ef58a6d85200eecf82ca2f (diff) | |
download | bh20-seq-resource-42bef034915c84d3e3ee71d018a37f4292da5504.tar.gz bh20-seq-resource-42bef034915c84d3e3ee71d018a37f4292da5504.tar.lz bh20-seq-resource-42bef034915c84d3e3ee71d018a37f4292da5504.zip |
Cleaned up Guix install instructions
-rw-r--r-- | doc/INSTALL.md | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/INSTALL.md b/doc/INSTALL.md index f7fd811..5e9e7e9 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -4,12 +4,14 @@ Other options for running this tool. ## GNU Guix -Another way to install this tool is inside a [GNU Guix Environment](https://guix.gnu.org/manual/en/html_node/Invoking-guix-environment.html), which can handle installing dependencies for you even when you don't have root access on an Ubuntu system. +### Running the CLI uploader -1. **Set up and enter a container with the necessary dependencies.** After installing Guix as `~/opt/guix/bin/guix`, run: +Another way to install this tool is inside a [GNU Guix Environment](https://guix.gnu.org/manual/en/html_node/Invoking-guix-environment.html), which can handle installing dependencies for you + +1. **Set up and enter a Guix environment with the necessary dependencies.** After installing Guix run: ```sh -~/opt/guix/bin/guix environment -C guix --ad-hoc git python openssl python-pycurl nss-certs +guix environment -C guix --ad-hoc git python openssl python-pycurl nss-certs ``` 2. **Install the tool.** From there you can follow the [user installation instructions](#installation-with-pip3---user). In brief: @@ -27,7 +29,7 @@ arvados-python-client-2.0.1 ciso8601-2.1.3 future-0.18.2 google-api-python-clien 3. Run the tool directly with ```sh -~/opt/guix/bin/guix environment guix --ad-hoc git python openssl python-pycurl nss-certs -- python3 bh20sequploader/main.py +guix environment guix --ad-hoc git python openssl python-pycurl nss-certs -- python3 bh20sequploader/main.py ``` ### Using the Web Uploader @@ -49,3 +51,5 @@ and ``` env FLASK_APP=bh20simplewebuploader/main.py flask run ``` + +WIP: add gunicorn container |