Browse Source

Update installation instructions based on directory moves (#436)

tags/v0.4.0.dev0
Jack Gerrits GitHub 1 year ago
parent
commit
0f9254b4fa
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      python/packages/autogen-core/docs/src/getting-started/installation.md

+ 4
- 4
python/packages/autogen-core/docs/src/getting-started/installation.md 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

Loading…
Cancel
Save