diff --git a/.env.example b/.env.example index 54986a97cd..68e4299fe3 100644 --- a/.env.example +++ b/.env.example @@ -25,5 +25,5 @@ INFINITY_API_KEY = "" # Development Configs LITELLM_MASTER_KEY = "sk-1234" -DATABASE_URL = "postgresql://llmproxy:dbpassword9090@db:5432/litellm" +DATABASE_URL = "postgresql://llmproxy:dbpassword9090@localhost:5432/litellm" STORE_MODEL_IN_DB = "True" \ No newline at end of file diff --git a/README.md b/README.md index 1c4e148443..15b1ff593d 100644 --- a/README.md +++ b/README.md @@ -397,6 +397,9 @@ If you have suggestions on how to improve the code quality feel free to open an ### Services 1. Setup .env file in root 2. Run dependant services `docker-compose up db prometheus` +3. Install prisma `npm install -g prisma` +4. Run `prisma generate` to generate the prisma client +5. (If database needs to be reset run `prisma migrate reset` followed by `prisma db push`) ### Backend 1. (In root) create virtual environment `python -m venv .venv`