diff --git a/extra/compile-install-script.ps1 b/extra/compile-install-script.ps1 new file mode 100644 index 00000000..4b25b55a --- /dev/null +++ b/extra/compile-install-script.ps1 @@ -0,0 +1 @@ +docker run -it --rm -v ${pwd}:/app louislam/batsh /usr/bin/batsh bash --output ./install.sh ./extra/install.batsh \ No newline at end of file diff --git a/package.json b/package.json index dda21438..cadc9ba8 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "dev": "vite --host", "start": "npm run start-server", "start-server": "node server/server.js", + "start-demo-server": "set NODE_ENV=demo && node server/server.js", "update": "", "build": "vite build", "vite-preview-dist": "vite preview --host", @@ -22,7 +23,8 @@ "setup": "git checkout 1.1.0 && npm install && npm run build", "update-version": "node extra/update-version.js", "mark-as-nightly": "node extra/mark-as-nightly.js", - "reset-password": "node extra/reset-password.js" + "reset-password": "node extra/reset-password.js", + "compile-install-script": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command ./extra/compile-install-script.ps1" }, "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.36",