Development

The source code of r3v3rs3 is on GitHub.

Prerequisites

Install these before you build:

Development Setup

# Clone the repository
git clone https://github.com/KilimcininKorOglu/r3v3rs3
cd r3v3rs3

# Create an admin account
cargo run --bin r3v3rs3 -- add-user admin

# Start the server
make run

# In a separate terminal, start `trunk serve` for the WebUI
cd r3v3rs3-webui
trunk serve

trunk serve sends the requests under /api/ to the server on localhost:46492.

Tests and Checks

Building for Release

make release

# Start the server
target/release/r3v3rs3 start

make release builds the WebUI into r3v3rs3/dist/webui and then the server. The server embeds that directory at compile time, so the WebUI is built first.