Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 539 Bytes

BUILD.md

File metadata and controls

40 lines (27 loc) · 539 Bytes

How to build

How to build docker image

  1. Install Docker

  2. Build image:

docker build --progress=plain -t pw:1.7.0 .

How to build standalone version

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