Fix frontend development server interpreter path

This commit is contained in:
Joren de Graaf
2026-10-26 14:42:05 +01:00
parent 31266b1533
commit 244724abd5
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ cd main/frontend
npm ci
npm run build
cd /home/jorenmartijn/django
VITE_USE_DEV_SERVER=false tasksnest/bin/python main/manage.py collectstatic
VITE_USE_DEV_SERVER=false tasksnest-host/bin/python main/manage.py collectstatic
```
`npm run build` writes hashed assets and `.vite/manifest.json` to
+2 -2
View File
@@ -5,10 +5,10 @@
"scripts": {
"dev": "concurrently --kill-others-on-fail --names assets,django --prefix-colors cyan,green \"npm run dev:assets\" \"npm run dev:django\"",
"dev:assets": "vite build --watch",
"dev:django": "VITE_USE_DEV_SERVER=false ../../tasksnest/bin/python ../manage.py runserver 0.0.0.0:1234",
"dev:django": "VITE_USE_DEV_SERVER=false ../../tasksnest-host/bin/python ../manage.py runserver 0.0.0.0:1234",
"dev:hmr": "concurrently --kill-others-on-fail --names vite,django --prefix-colors cyan,green \"npm run dev:vite\" \"npm run dev:django:hmr\"",
"dev:vite": "vite",
"dev:django:hmr": "VITE_USE_DEV_SERVER=true ../../tasksnest/bin/python ../manage.py runserver 0.0.0.0:1234",
"dev:django:hmr": "VITE_USE_DEV_SERVER=true ../../tasksnest-host/bin/python ../manage.py runserver 0.0.0.0:1234",
"build": "vite build",
"preview": "vite preview"
},