Clean NEXT_PUBLIC_FIREBASE_ENV

This commit is contained in:
MartinBraquet
2025-09-01 22:18:48 +02:00
parent d5216a8e8c
commit d8722a8274
3 changed files with 9 additions and 1 deletions

View File

@@ -17,3 +17,5 @@ EMAIL_FROM=
# Development
DATABASE_URL="postgresql://postgres:password@localhost:5432/compass"
NEXT_PUBLIC_API_URL=localhost:8088

2
dev.sh
View File

@@ -22,6 +22,6 @@ npx dotenv -e .env -- npx concurrently \
-n API,NEXT,TS \
-c white,magenta,cyan \
"cross-env ENV=$NEXT_ENV yarn --cwd=backend/api dev" \
"cross-env NEXT_PUBLIC_API_URL=localhost:8088 NEXT_PUBLIC_FIREBASE_ENV=$NEXT_ENV yarn --cwd=$DIR serve" \
"cross-env NEXT_PUBLIC_FIREBASE_ENV=$NEXT_ENV yarn --cwd=$DIR serve" \
"cross-env yarn --cwd=$DIR ts-watch"

6
kill.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
kill $(fuser -k 3000/tcp)
kill $(fuser -k 8088/tcp)