From 47691eb2912424aea42d4e41e16323210aeb4f70 Mon Sep 17 00:00:00 2001 From: Ethan Weber Date: Fri, 29 Apr 2022 16:36:47 +0000 Subject: [PATCH] removing goat references --- .gitmodules | 3 --- README.md | 26 ++++++++++++++++++++------ external/goat | 1 - 3 files changed, 20 insertions(+), 10 deletions(-) delete mode 160000 external/goat diff --git a/.gitmodules b/.gitmodules index a1d85b4ff..e69de29bb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "external/goat"] - path = external/goat - url = git@github.com:ethanweber/goat.git diff --git a/README.md b/README.md index 62e03284c..7d388212e 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,6 @@ conda create --name mattport python=3.8.13 conda activate mattport pip install -r environment/requirements.txt -# Install helper library -cd external/goat -python setup.py develop -# then go back, i.e., `cd /path/to/mattport` - # Install mattport as a library python setup.py develop @@ -49,4 +44,23 @@ python scripts/run_train.py machine_config.num_gpus=1 ``` python -m jupyter lab build bash environments/run_jupyter.sh -``` \ No newline at end of file +``` + +# Tooling + +We use [autoenv](https://github.com/hyperupcall/autoenv) to make setting up the environment and environment variables easier. This will run the `.envrc` file upon entering the `/path/to/mattport` folder. It will also remove the set environment parameters upon leaving. + +``` +# Install direnv. +sudo apt install direnv + +# Add the following line to the bottom of your ~/.bashrc file. +eval "$(direnv hook bash)" + +# Populate your .envrc with commands you want to run. Then, run the following to allow updates. +cd /path/to/mattport +direnv allow . +``` + + + \ No newline at end of file diff --git a/external/goat b/external/goat deleted file mode 160000 index 65bdfebc7..000000000 --- a/external/goat +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 65bdfebc71d87c4c8863af879160a4b9b64c9c7a