From 253e01bca04104a8f86bfc1539997813c55ae340 Mon Sep 17 00:00:00 2001 From: brianreicher Date: Thu, 14 Dec 2023 11:41:22 -0500 Subject: [PATCH] Install requirements --- README.md | 16 +++++++++++----- install.sh | 3 +++ 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2fb93e1..bc85e80 100644 --- a/README.md +++ b/README.md @@ -32,36 +32,42 @@ Automated segmentation for large-scale biological datasets. * Free software: Apache 2.0 License ### Installation +A complete install can be run with: +```bash +bash install.sh +``` + +Or install-by-install as follows: -Install Rust and Cargo via RustUp: +1. Install Rust and Cargo via RustUp: ```bash curl https://sh.rustup.rs -sSf | sh ``` -Install MongoDB: +2. Install MongoDB: ```bash curl -fsSL https://pgp.mongodb.com/server-6.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg --dearmor ``` -And initialize a MongoDB server in a screen on your machine: +3. And initialize a MongoDB server in a screen on your machine: ```bash screen mongod ``` -Install ``graph_tool`` +4. Install ``graph_tool`` ```bash conda install -c conda-forge -c ostrokach-forge -c pkgw-forge graph-tool ``` -Install `autoseg`: +5. Install `autoseg`: ```bash pip install git+https://github.com/brianreicher/autoseg.git diff --git a/install.sh b/install.sh index c125445..3c7f512 100644 --- a/install.sh +++ b/install.sh @@ -10,3 +10,6 @@ conda install -c conda-forge -c ostrokach-forge -c pkgw-forge graph-tool # initialize a MongoDB server screen mongod + +# install autoseg +pip install git+https://github.com/brianreicher/autoseg.git