Development
Our project's source code is available on GitHub.
Prerequisites
Before getting started, make sure to install the following prerequisites:
- Rust toolchain: You can install it using rustup.rs
- WASM toolchain: After installing the Rust toolchain, add the WASM target by executing
rustup target add wasm32-unknown-unknown
in your terminal - Trunk: Visit the website for installation instructions
Development Setup
# Clone the repository
git clone https://github.com/picoHz/taxy
# Start the server
cd taxy
cargo run
# In a separate terminal, start `trunk serve` for the WebUI
cd taxy-webui
trunk serve
Building for Release
# Build the WebUI
cd taxy/taxy-webui
trunk build --cargo-profile web-release --release
# Build the Server
cd ..
cargo build --release
# Start the server
target/release/taxy start
Gitpod
You can instantly start developing Taxy in your browser using Gitpod.