Fix frontend development server interpreter path
This commit is contained in:
@@ -40,7 +40,7 @@ cd main/frontend
|
|||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
cd /home/jorenmartijn/django
|
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
|
`npm run build` writes hashed assets and `.vite/manifest.json` to
|
||||||
|
|||||||
@@ -5,10 +5,10 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently --kill-others-on-fail --names assets,django --prefix-colors cyan,green \"npm run dev:assets\" \"npm run dev:django\"",
|
"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: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: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: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",
|
"build": "vite build",
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user