AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
docs(server): Update docs (#8031)
Aarushiebd2ecd84cad
diff --git a/docs/content/server/setup.md b/docs/content/server/setup.mdindex 8fe31bc139..2e624c05f2 100644--- a/docs/content/server/setup.md+++ b/docs/content/server/setup.md@@ -73,6 +73,7 @@ Once you have installed Yarn and Poetry, you can run the following command to in```bashcd rnd/autogpt_server+cp .env.example .envpoetry install```@@ -90,7 +91,7 @@ Once you have installed the dependencies, you can proceed to the next step.In order to setup the database, you need to run the following commands, in the same terminal you ran the `poetry install` command:```sh- docker compose up postgres -d+ docker compose up postgres redis -dpoetry run prisma migrate dev```After deploying the migration, to ensure that the database schema is correctly mapped to your codebase, allowing the application to interact with the database properly, you need to generate the Prisma database model:@@ -101,7 +102,15 @@ poetry run prisma generateWithout running this command, the necessary Python modules (prisma.models) won't be available, leading to a `ModuleNotFoundError`.-### Running the server+### Running the server without Docker++To run the server, you can run the following commands in the same terminal you ran the `poetry install` command:++```bash+poetry run app+```++### Running the server within DockerTo run the server, you can run the following commands in the same terminal you ran the `poetry install` command:@@ -110,7 +119,7 @@ docker compose builddocker compose up```-In the other terminal, you can run the following command to start the frontend:+In the other terminal from autogpt_builder, you can run the following command to start the frontend:```bashyarn dev@@ -119,3 +128,10 @@ yarn dev### Checking if the server is runningYou can check if the server is running by visiting [http://localhost:3000](http://localhost:3000) in your browser.++### Notes:+By default the daemons for different services run on the following ports:++Execution Manager Daemon: 8002+Execution Scheduler Daemon: 8003+Rest Server Daemon: 8004