apps/desktop/README.md
This is the main GitButler application frontend code. This has been built using Svelte, sweat and beers.
The application can be run using the dev server on a browser. This has to then access the rust end through the but-server. The but-server provides the same API surface as the one provided by conventional Tauri.
Execute the following command on your terminal \
cargo run -p but-server
This should start the server on th default port 6978
Execute the following command on another terminal, concurrently
pnpm dev:desktop-http
This packages the local workspace dependencies, builds the web target, points it to
the but-server on http://localhost:6978 and serves it under the default address
http://localhost:1420/
If you run the desktop package's dev script directly, make sure the local package
outputs exist first:
pnpm turbo run package --filter=...@gitbutler/desktop
Open Chrome (let's not kid ourselves) and got to http://localhost:1420 and enjoy
watchexec -w crates -r -- cargo run -p but-server