Installation
Prerequisites
Using mise (Recommended)
The easiest way to get started is using mise:
bash
# Clone the repository
git clone https://github.com/ubugeeei/relanote.git
cd relanote
# Trust the mise configuration
mise trust
# Install all dependencies and build
mise run setupThis will:
- Install the correct Rust and Node.js versions
- Install web dependencies
- Build the WASM module
- Prepare the development environment
Manual Installation
CLI Tool
Build and install the CLI:
bash
cargo install --path crates/relanote-cliOr build from source:
bash
cargo build --release
# Binary will be at target/release/relanoteVerify Installation
bash
relanote --version
# relanote 0.1.0Editor Support
VS Code
The Relanote LSP provides:
- Syntax highlighting
- Real-time error checking
- Hover documentation
- Auto-completion
Start the LSP server:
bash
relanote lspConfigure your editor to use it as a language server for .rela files.
Web Playground
Run the web-based IDE locally:
bash
# Using mise
mise run dev
# Or manually
cd web
pnpm install
pnpm devOpen http://localhost:3000 in your browser.