Update installation instructions based on directory moves (#436)

This commit is contained in:
Jack Gerrits
2024-08-30 09:37:11 -04:00
committed by GitHub
parent fa826ab71c
commit 0f9254b4fa

View File

@@ -7,13 +7,13 @@ The repo is private, so the installation process is a bit more involved than usu
Make a clone of the repo:
```sh
git clone https://github.com/microsoft/autogen_core.git
git clone https://github.com/microsoft/agnext.git
```
You can install the package by running:
```sh
cd autogen_core/python
cd agnext/python/packages/autogen-core
pip install .
```
@@ -23,7 +23,7 @@ To install the package from GitHub, you will need to authenticate with GitHub.
```sh
GITHUB_TOKEN=$(gh auth token)
pip install "git+https://oauth2:$GITHUB_TOKEN@github.com/microsoft/autogen_core.git#subdirectory=python"
pip install "git+https://oauth2:$GITHUB_TOKEN@github.com/microsoft/agnext.git#subdirectory=python/packages/autogen-core"
```
### Using a Personal Access Token instead of `gh` CLI
@@ -32,6 +32,6 @@ If you don't have the `gh` CLI installed, you can generate a personal access tok
1. Go to [New fine-grained personal access token](https://github.com/settings/personal-access-tokens/new)
2. Set `Resource Owner` to `Microsoft`
3. Set `Repository Access` to `Only select repositories` and select `Microsoft/autogen_core`
3. Set `Repository Access` to `Only select repositories` and select `Microsoft/agnext`
4. Set `Permissions` to `Repository permissions` and select `Contents: Read`
5. Use the generated token for `GITHUB_TOKEN` in the commad above