diff --git a/Populate_DB b/Populate_DB deleted file mode 100644 index ecd853c..0000000 --- a/Populate_DB +++ /dev/null @@ -1,12 +0,0 @@ -3. Initialisation de la base (migrations Prisma) - -Cloner le repo AFFiNE : - -git clone https://github.com/toeverything/AFFiNE.git ~/AFFiNE - -Puis lancer les migrations : -docker run -it --rm --network=affine_default --e DATABASE_URL="postgres://affine_usr:R8v%232kP9sTq4%21Lm@affine_db:5432/affine?sslmode=disable" --v ~/AFFiNE:/work --w /work/packages/backend/server node:20-alpine sh -c "npm install -g prisma@6 && prisma migrate -deploy --schema=./schema.prisma" \ No newline at end of file