Skip to content
Kenjiro Ichise edited this page Jun 13, 2024 · 5 revisions

First, build the frontend Next.js, then build the backend.

frontend(Next.js)

cd frontend
yarn install
yarn build

backend(Rust)

Windows

rustup

rustup target add aarch64-linux-android
rustup target add armv7-linux-androideabi
rustup target add i686-linux-android
rustup target add x86_64-linux-android
rustup target add x86_64-pc-windows-msvc

build

cd backend
# build for android
build.bat --target android
# build for windows
build.bat --target windows

Mac

rustup

rustup target add aarch64-linux-android
rustup target add armv7-linux-androideabi
rustup target add i686-linux-android
rustup target add x86_64-linux-android
rustup target add aarch64-apple-darwin
rustup target add aarch64-apple-ios

build

cd backend
# build for android
build.sh --target android
# build for mac
build.sh --target mac
# build for ios
build.sh --target ios
Clone this wiki locally