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.
feat(server) Update readme (#7580)
Aarushi7b8928f49b46
diff --git a/rnd/autogpt_server/.env.example b/rnd/autogpt_server/.env.exampleindex 85ed6025d5..d8b201297a 100644--- a/rnd/autogpt_server/.env.example+++ b/rnd/autogpt_server/.env.example@@ -1,6 +1,6 @@-DATABASE_URL="postgresql://${DB_USER}:${DB_PASS}@localhost:${DB_PORT}/${DB_NAME}"DB_USER=agpt_userDB_PASS=pass123DB_NAME=agpt_localDB_PORT=5432-PRISMA_SCHEMA="schema_postgres.prisma"+DATABASE_URL="postgresql://${DB_USER}:${DB_PASS}@localhost:${DB_PORT}/${DB_NAME}"+PRISMA_SCHEMA="postgres/schema.prisma"diff --git a/rnd/autogpt_server/README.advanced.md b/rnd/autogpt_server/README.advanced.mdindex 6f6efaeba3..b7133b3e61 100644--- a/rnd/autogpt_server/README.advanced.md+++ b/rnd/autogpt_server/README.advanced.md@@ -28,7 +28,13 @@ We use the Poetry to manage the dependencies. To set up the project, follow thespoetry install```-4. Generate the Prisma client+4. Copy .env.example to .env++ ```sh+ cp env.example .env+ ```++5. Generate the Prisma client```shpoetry run prisma generate --schema postgres/schema.prisma@@ -44,17 +50,19 @@ We use the Poetry to manage the dependencies. To set up the project, follow thes> Then run the generation again. The path *should* look something like this:> `<some path>/pypoetry/virtualenvs/autogpt-server-TQIRSwR6-py3.12/bin/prisma`-5. Run the postgres database from the /rnd folder+6. Run the postgres database from the /rnd folder```sh+ cd rnd/docker compose up -d- ```+ ```-6. Run the migrations+7. Run the migrations (from the autogpt_server folder)```sh+ cd ../autogpt_serverprisma migrate dev --schema postgres/schema.prisma- ```+ ```## Running The Server