From 76e00acbdb1820643cc2a5409630ad6b77b43775 Mon Sep 17 00:00:00 2001 From: Ori Kotek Date: Sun, 23 Jul 2023 13:02:32 +0300 Subject: [PATCH 1/2] Update INSTALL.md --- INSTALL.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 0457b5dc..60906a0a 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -95,9 +95,10 @@ cp pr_agent/settings/.secrets_template.toml pr_agent/settings/.secrets.toml # Edit .secrets.toml file ``` -4. Run the appropriate Python scripts from the scripts folder: +4. Add the pr_agent folder to your PYTHONPATH, then run the cli.py script: ``` +export PYTHONPATH=$PYTHONPATH: python pr_agent/cli.py --pr_url review python pr_agent/cli.py --pr_url ask python pr_agent/cli.py --pr_url describe From d1b91b0ea34932f0d5c6e021c9ce4350bb0ad20b Mon Sep 17 00:00:00 2001 From: Ori Kotek Date: Sun, 23 Jul 2023 13:03:44 +0300 Subject: [PATCH 2/2] Update INSTALL.md --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 60906a0a..76a00671 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -98,7 +98,7 @@ cp pr_agent/settings/.secrets_template.toml pr_agent/settings/.secrets.toml 4. Add the pr_agent folder to your PYTHONPATH, then run the cli.py script: ``` -export PYTHONPATH=$PYTHONPATH: +export PYTHONPATH=[$PYTHONPATH:] python pr_agent/cli.py --pr_url review python pr_agent/cli.py --pr_url ask python pr_agent/cli.py --pr_url describe