Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Local Deployment

Build and run Fungi on your machine.

Prerequisites

  • Rust 1.95+
  • Cargo
  • Git

Build from Source

git clone https://github.com/yourusername/fungi.git
cd fungi
cargo build --release

Install Binaries

Option A: Symlink (recommended)

ln -sf $(pwd)/target/release/fungi ~/.local/bin/
ln -sf $(pwd)/target/release/fungi-server ~/.local/bin/

# Ensure ~/.local/bin in PATH
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Option B: Cargo install

cargo install --path crates/fungi-cli
cargo install --path crates/fungi-server

Run

fungi server                    # default 0.0.0.0:50051
fungi server --port 8080
fungi sql --query "SELECT 1"

Run Tests

cargo test --workspace

Next Steps