Micro

Micro

Manual

This guide shows you how to build and run Micro from source.

Prerequisites

You'll need a server with:

Installation

Clone the repository:

git clone https://codeberg.org/nord-studio/micro.git
cd micro

Install the dependencies:

pnpm install --filter=@micro/web... --frozen-lockfile

Create your .env and config.toml from the examples:

cp .env.example .env
cp config.example.toml config.toml

Set DATABASE_URL in .env to your database, and origin in config.toml to your instance's URL. Other environment variables go in .env too.

Build Micro:

pnpm --filter=@micro/web build

Start it:

pnpm --filter=@micro/web start

Micro runs its database migrations on startup. It listens on port 3000, or whatever PORT is set to.

Go to your server's address on port 3000 to create your account and first workspace.

On this page