Tinkering with your OS through a webapp, how exciting!
Using the Nix Flake:
nix develop
# use this command if in a non-posix-compliant shell
bash -c "SHELL=bash nix develop"
Using the dev toolbox container image:
distrobox create -i ghcr.io/blue-build/workshop-dev -n workshop-dev -p # add --nvidia flag if using nvidia
distrobox enter workshop-dev
The container image can also be used with the just command just pnpm
, which runs pnpm inside the container. All commands below are supported in the container.
Install deps
pnpm install
SSR web version
pnpm dev
Tauri app
pnpm tauri dev
VS Code + Svelte + Tauri + rust-analyzer.
For testing features requiring GitHub OAuth, create a .env
file with the GITHUB_CLIENT_ID
abd GITHUB_CLIENT_SECRET
of your development OAuth app. The callback URL should be http://localhost:5173/api/login/callback
.
Build SSR web version
pnpm build
Build Tauri app
pnpm tauri build