From a6d4deaf205537a64b31ff1e1e10b1e3bc5e6fc3 Mon Sep 17 00:00:00 2001 From: John Cole <29712567+johnisanerd@users.noreply.github.com> Date: Fri, 19 May 2023 13:39:12 -0400 Subject: [PATCH] Update setup.md (#3690) Co-authored-by: Richard Beales --- .gitignore | 1 + docs/setup.md | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index 816cdb0c..971c3368 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ logs *.log *.mp3 mem.sqlite3 +venvAutoGPT # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/docs/setup.md b/docs/setup.md index 97c5bac8..70b3ac39 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -211,6 +211,16 @@ docker run -it --env-file=.env -v $PWD:/app --rm auto-gpt --gpt3only --continuou ### Run without Docker +#### Create a Virtual Environment + +Create a virtual environment to run in. + +``` shell +python -m venv venvAutoGPT +source venvAutoGPT/bin/activate +pip3 install --upgrade pip +``` + !!! warning Due to security reasons, certain features (like Python execution) will by default be disabled when running without docker. So, even if you want to run the program outside a docker container, you currently still need docker to actually run scripts.