This commit is contained in:
Anaïs Saraiva
2026-03-29 19:29:36 +02:00
parent 2bb644fd90
commit ddebcd6437
3 changed files with 8 additions and 4 deletions
+6
View File
@@ -96,6 +96,12 @@ bun run --cwd apps/web dev
The Vite dev server proxies `/api` to `http://localhost:3001`.
Important en local:
- le compte admin local est créé au démarrage de l'API
- il faut donc avoir un fichier `.env` à la racine du repo
- et redémarrer l'API après tout changement de `APP_ADMIN_EMAIL` ou `APP_ADMIN_PASSWORD`
## Docker CLI assumptions
The backend assumes docker-mailserver is available in a running container and that the following commands are present:
+1 -2
View File
@@ -3,7 +3,7 @@
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "bun --watch src/index.ts",
"dev": "bun --env-file ../../.env --watch src/index.ts",
"build": "bun build src/index.ts --target bun --outdir dist",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
@@ -21,4 +21,3 @@
"typescript": "^5.8.3"
}
}
+1 -2
View File
@@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"dev": "bunx vite --host 0.0.0.0 --port 5173 --mode development",
"build": "vite build",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
@@ -22,4 +22,3 @@
"vite": "^6.2.4"
}
}