Skip to content

Quick Start

This guide gets a FeltnerAI server running locally and walks you through first-run setup.

  • Rust 1.96 or newer
  • Bun 1.3 or newer
  • just (optional, but used by the project’s commands)

The React web app is embedded into the server binary, so build the frontend first.

  1. Install frontend dependencies:

    Terminal window
    bun install --cwd frontend --frozen-lockfile
  2. Build the web application:

    Terminal window
    bun run --cwd frontend build
  3. Run the server:

    Terminal window
    cargo run -p feltnerai-server
  4. Open the app in your browser:

    http://127.0.0.1:8080

On startup the server prints a temporary setup token to the console. You need it to create the first administrator.

  1. Copy the setup token from the server console output.

  2. In the browser, follow the setup flow. You will:

  3. Sign in as the administrator and create accounts for your users from Admin → Users. New accounts are forced to change their password on first sign-in.

For local development, run the server and Vite separately so the frontend hot-reloads.

Terminal window
just server

Vite serves http://127.0.0.1:5173 and proxies /api to the server on port 8080.

Use a disposable data directory when testing setup repeatedly so you can start from a clean state:

Terminal window
$env:FELTNERAI_DATA_DIR="$PWD\target\dev-data"
cargo run -p feltnerai-server