diff options
author | Adam Novak | 2020-04-09 15:57:37 -0700 |
---|---|---|
committer | Adam Novak | 2020-04-09 15:58:56 -0700 |
commit | d9a24cfb81a028fcd901abd08fc02b9140d5e78b (patch) | |
tree | b08ac8d559a263381703ce14c06e144e6f48912c /doc | |
parent | 2cd6623aa0ddfe4e42b2d434e0523773bb3536ef (diff) | |
parent | b1039ff369ee88770e42d1bbbdc402b1181c2aa5 (diff) | |
download | bh20-seq-resource-d9a24cfb81a028fcd901abd08fc02b9140d5e78b.tar.gz bh20-seq-resource-d9a24cfb81a028fcd901abd08fc02b9140d5e78b.tar.lz bh20-seq-resource-d9a24cfb81a028fcd901abd08fc02b9140d5e78b.zip |
Merge remote-tracking branch 'upstream/master' into add-web-ui
Diffstat (limited to 'doc')
-rw-r--r-- | doc/DEVELOPMENT.md | 7 | ||||
-rw-r--r-- | doc/INSTALL.md | 31 |
2 files changed, 38 insertions, 0 deletions
diff --git a/doc/DEVELOPMENT.md b/doc/DEVELOPMENT.md new file mode 100644 index 0000000..98d8de4 --- /dev/null +++ b/doc/DEVELOPMENT.md @@ -0,0 +1,7 @@ +# Development + +## Upload resume + +When data files get large we may want to implement resume, +like put does. See +[/sdk/python/arvados/commands/put.py](https://dev.arvados.org/projects/arvados/repository/revisions/master/entry/sdk/python/arvados/commands/put.py) diff --git a/doc/INSTALL.md b/doc/INSTALL.md new file mode 100644 index 0000000..c5c486c --- /dev/null +++ b/doc/INSTALL.md @@ -0,0 +1,31 @@ +# INSTALLATION + +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. + +1. **Set up and enter a container with the necessary dependencies.** After installing Guix as `~/opt/guix/bin/guix`, run: + +```sh +~/opt/guix/bin/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: + +```sh +pip3 install --user schema-salad arvados-python-client +``` + +Pip installed the following modules + +``` +arvados-python-client-2.0.1 ciso8601-2.1.3 future-0.18.2 google-api-python-client-1.6.7 httplib2-0.17.1 oauth2client-4.1.3 pyasn1-0.4.8 pyasn1-modules-0.2.8 rsa-4.0 ruamel.yaml-0.15.77 six-1.14.0 uritemplate-3.0.1 ws4py-0.5.1 +``` + +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 +``` |