Installation
This page is for setting up Atlas in your own docs repo. If you are working on the Coolify docs, the repo already ships with Atlas configured, so you can skip straight to the quick start.
Before you start
You will need:
- Bun installed, since Atlas runs on Bun.
- A docs repo to point Atlas at.
- Git available on your machine, which Atlas uses for commits, history, and branches.
Install Atlas
From the root of your docs repo, add Atlas as a dev dependency:
bun add -d @shadowarcanist/atlas-devkitThen add a script to your package.json so you can launch it:
{
"scripts": {
"dev:atlas": "atlas --root ."
}
}The --root . tells Atlas to work on the current folder, which is your docs repo.
Configure the workspace
Atlas reads an atlas.json file from the root of your repo. Create one and paste in this starter config, then edit it to match your repo. Here is the shape, with the values the Coolify docs use:
{
"name": "Coolify Docs",
"contentDir": "content/docs",
"redirectsFile": "nginx/redirects.conf",
"publicDir": "public",
"mediaDir": "public/images",
"templateDir": "templates",
"previewUrl": "http://localhost:3000",
"previewCommand": "bun run dev",
"redirectBasePath": "/docs"
}Every path is relative to the root of your repo. See the workspace for what each field controls.
Run Atlas
Start it:
bun run dev:atlasThe dashboard is now available at http://localhost:4444. Open it in your browser (Atlas does not open it for you).