-
Install Docker
-
Build image:
docker build --progress=plain -t pw:1.7.0 .
1. Install Rust 1.85 or later
2. Install NodeJS and npm
3. Build frontend module
cd frontend
npm i
npm run build
4. Build app
mkdir static
cp -r frontend/build/ static/
cargo build --release
cd ..
# Linux
cp target/release/pw pw
# Windows
cp target/release/pw.exe pw.exe