docs(readme) Update readme to include non docker steps (#8013)

update readme
This commit is contained in:
Aarushi
2024-09-06 15:33:17 +01:00
committed by GitHub
parent 2cae9ba8da
commit b12dba13f4

View File

@@ -58,13 +58,21 @@ We use the Poetry to manage the dependencies. To set up the project, follow thes
6. Migrate the database. Be careful because this deletes current data in the database.
```sh
docker compose up postgres -d
docker compose up postgres redis -d
poetry run prisma migrate dev
```
## Running The Server
### Starting the server directly
### Starting the server without Docker
Run the following command to build the dockerfiles:
```sh
poetry run app
```
### Starting the server with Docker
Run the following command to build the dockerfiles: