diff --git a/main/frontend/README.md b/main/frontend/README.md index 1434943..2654d09 100644 --- a/main/frontend/README.md +++ b/main/frontend/README.md @@ -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 diff --git a/main/frontend/package.json b/main/frontend/package.json index 2288178..d0d49dd 100644 --- a/main/frontend/package.json +++ b/main/frontend/package.json @@ -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" },