mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
Fix(rnd): Add Prerequisites Documentation in README.md (Server) (#7546)
This commit is contained in:
@@ -5,26 +5,31 @@ The agent server will enable the creation of composite multi-agent systems that
|
||||
|
||||
## Setup
|
||||
|
||||
To set up the project, follow these steps inside this directory:
|
||||
We use the Poetry to manage the dependencies. To set up the project, follow these steps inside this directory:
|
||||
|
||||
0. Configure Poetry to use .venv in your project directory
|
||||
0. Install Poetry
|
||||
```sh
|
||||
pip install poetry
|
||||
```
|
||||
|
||||
1. Configure Poetry to use .venv in your project directory
|
||||
```sh
|
||||
poetry config virtualenvs.in-project true
|
||||
```
|
||||
|
||||
1. Enter the poetry shell
|
||||
2. Enter the poetry shell
|
||||
|
||||
```sh
|
||||
poetry shell
|
||||
```
|
||||
|
||||
2. Install dependencies
|
||||
3. Install dependencies
|
||||
|
||||
```sh
|
||||
poetry install
|
||||
```
|
||||
|
||||
3. Generate the Prisma client
|
||||
4. Generate the Prisma client
|
||||
|
||||
```sh
|
||||
poetry run prisma generate
|
||||
@@ -40,7 +45,7 @@ To set up the project, follow these steps inside this directory:
|
||||
> Then run the generation again. The path *should* look something like this:
|
||||
> `<some path>/pypoetry/virtualenvs/autogpt-server-TQIRSwR6-py3.12/bin/prisma`
|
||||
|
||||
4. Migrate the database. Be careful because this deletes current data in the database.
|
||||
5. Migrate the database. Be careful because this deletes current data in the database.
|
||||
|
||||
```sh
|
||||
poetry run prisma migrate dev
|
||||
|
||||
Reference in New Issue
Block a user