Installation
Desktop App
Section titled “Desktop App”The easiest way to get started is with the ctx.gg desktop app.
- Download the latest release from GitHub Releases
- Install and launch the app
- Sign in with GitHub or Discord
- Browse community maps or open the editor to create your own
Build from Source
Section titled “Build from Source”Prerequisites
Section titled “Prerequisites”- C++ compiler — GCC 13+, Clang 16+, or MSVC 2022
- CMake 3.26+
- Vulkan SDK 1.3+
- Git
Clone and Build
Section titled “Clone and Build”git clone https://github.com/contextgg/mortar.gitcd mortarcmake --preset defaultcmake --build --preset defaultThe built binary will be in build/default/.
Desktop App (from source)
Section titled “Desktop App (from source)”The desktop app requires Rust and Node.js 20+.
git clone https://github.com/contextgg/mortar-app.gitcd mortar-appnpm installnpm run devMap Editor (local)
Section titled “Map Editor (local)”To run the map editor locally:
git clone https://github.com/contextgg/map-editor.gitcd map-editornpm installnpm run devThe editor will be available at http://localhost:5173.
API (local)
Section titled “API (local)”git clone https://github.com/contextgg/mortar-api.gitcd mortar-apinpm installcp .env.example .env # Configure database connectionnpm run devThe API will be available at http://localhost:3000.