帮你更好的构建整个Pipe
git clone https://github.com/pipe-fun/make-fun.git
cd make-fun
git submodule update init
CREATE DATABASE pipe;
cd crates/db-api
psql -d pipe -U user -f schema.sql
mv .env.example .env
nano .env
cd make-fun
cargo build --release
cd crates/pipe
cargo install wasm-pack
wasm-pack build --release --target web --out-name wasm --out-dir static/
cd target/release
./db-api
./pipe-core
./web-api
- 挂载
crates/pipe/static
资源(例如Nginx)