mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 00:56:34 +00:00
chore: auto migrate on start script
This commit is contained in:
+1
-3
@@ -18,11 +18,9 @@ BACKEND_PORT=8001
|
||||
EMAIL_HOST=127.0.0.1
|
||||
EMAIL_PORT=1026
|
||||
FROM_EMAIL="Test <test@pi-ku.app>"
|
||||
EMAIL_HOST_USER=
|
||||
EMAIL_HOST_PASSWORD=
|
||||
EMAIL_API_PORT=8026
|
||||
|
||||
# FRONTEND
|
||||
FRONTEND_PORT=5199
|
||||
FRONTEND_DOMAIN=127.0.0.1
|
||||
VITE_API_URL=http://127.0.0.1:8001
|
||||
VITE_API_URL=https://127.0.0.1:8001
|
||||
|
||||
+2
-2
@@ -17,9 +17,9 @@ BACKEND_PORT=8000
|
||||
# EMAIL
|
||||
EMAIL_HOST=127.0.0.1
|
||||
EMAIL_PORT=1025
|
||||
FROM_EMAIL=Pi Ku <no-reply@test.com>
|
||||
FROM_EMAIL="Pi Ku <no-reply@test.com>"
|
||||
|
||||
# FRONTEND
|
||||
FRONTEND_PORT=5173
|
||||
FRONTEND_DOMAIN=127.0.0.1
|
||||
VITE_API_URL=http://127.0.0.1:8000
|
||||
VITE_API_URL=https://127.0.0.1:8000
|
||||
|
||||
@@ -31,6 +31,7 @@ done
|
||||
|
||||
(
|
||||
cd backend || exit 1
|
||||
uv run manage.py migrate
|
||||
uv run manage.py serve
|
||||
) &
|
||||
BACKEND_PID=$!
|
||||
|
||||
Reference in New Issue
Block a user