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
VITE_BUTLER_PORT=6978 \
VITE_BUTLER_HOST=localhost \
VITE_BUILD_TARGET=web \
pnpm --filter @gitbutler/desktop dev
This builds the web target, points it to the but-server on http://localhost:6978 and serves it under the default address http://localhost:1420/
Open Chrome (let's not kid ourselves) and got to http://localhost:1420 and enjoy
watchexec -w crates -r -- cargo run -p but-server