Update INSTALL.md

This commit is contained in:
Ori Kotek 2023-07-23 13:02:32 +03:00 committed by GitHub
parent f4a226b0f7
commit 76e00acbdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,9 +95,10 @@ cp pr_agent/settings/.secrets_template.toml pr_agent/settings/.secrets.toml
# Edit .secrets.toml file # 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:<PATH to pr_agent folder>
python pr_agent/cli.py --pr_url <pr_url> review python pr_agent/cli.py --pr_url <pr_url> review
python pr_agent/cli.py --pr_url <pr_url> ask <your question> python pr_agent/cli.py --pr_url <pr_url> ask <your question>
python pr_agent/cli.py --pr_url <pr_url> describe python pr_agent/cli.py --pr_url <pr_url> describe