Start Nomatron In Dev Mode

Nomatron is in early access. Some advanced workflows may not be covered in the public docs.

Start Nomatron In Dev Mode

Estimated time: 10 minutes

Before you start Nomatron, make sure these local prerequisites are in place:

  • Git
  • Docker, with the daemon running
  • Nomad
  • the nomatron binary
  • a GitHub account
  • an ngrok account

This page includes the minimum setup needed to get the Nomatron binary onto your machine so you can complete the walkthrough without leaving the getting started flow.

0. Install The Nomatron Binary

If nomatron is not already installed, install it now.

Mac

Using Homebrew:

bash
brew tap nomatronio/tap
brew install nomatron

Windows

  1. Download nomatron_0.1.7_windows_amd64.zip (or windows_arm64) from https://github.com/nomatronio/nomatron-releases/releases/tag/v0.1.7 .
  2. Extract nomatron.exe.
  3. Place it in a directory that is on your PATH.

Linux

Use the package that matches your environment:

  • Debian or Ubuntu: install nomatron from the signed Nomatron apt repository
  • RHEL, CentOS, or Fedora: install nomatron from the signed Nomatron yum repository
  • other environments: use the matching release archive for your platform

See Installing Nomatron for the repository setup commands.

After installation, confirm the binary is available:

bash
nomatron version

Before you start Nomatron itself, prepare the local pieces it needs for the first walkthrough: a copied template repository, a local Nomad dev agent, and an ngrok auth token.

1. Copy The Template Repository

Open the template repository your team wants to use for the walkthrough, then copy it into your own GitHub user or organization.

In GitHub:

  1. Click Use this template.
  2. Choose the GitHub user or organization that will own the new repository.
  3. Enter a repository name.
  4. Create the new repository.

Keep the repository URL handy. You will connect it to Nomatron later in the guide.

GitHub “Use this template” flow screenshot

2. Start Nomad In Dev Mode

In a separate terminal, start a local Nomad dev agent:

bash
nomad agent -dev

This gives Nomatron a local Nomad control plane for the walkthrough. You do not need an ACL token for this local dev-agent setup.

Nomad dev agent screenshot

3. Create An ngrok Account And Copy Your Token

  1. Go to ngrok.com .
  2. Create an account or sign in.
  3. In the ngrok dashboard, copy your auth token.

ngrok auth token screenshot

GitHub needs to reach your local Nomatron server for callbacks and webhooks. Nomatron uses this token to create a public dev tunnel.

4. Start Nomatron In Dev Mode

Make sure Docker is running: dev mode starts its own temporary PostgreSQL container.

Export your ngrok token. NGROK_AUTHTOKEN is the variable Nomatron reads; avoid putting the token on the command line:

bash
export NGROK_AUTHTOKEN="<YOUR_NGROK_TOKEN>"

Start Nomatron from the installed binary with the tunnel turned on:

bash
nomatron server --dev --ngrok

Setting the token alone does not open a tunnel; you need --ngrok (or NOMATRON_DEV_NGROK=1). You can also pass the token with --ngrok-authtoken-file or --ngrok-authtoken-stdin.

If you start nomatron server --dev without --ngrok (or NOMATRON_DEV_NGROK=1), Nomatron starts without a tunnel, warns in CLI startup output (“dev mode started without a public ngrok tunnel”), and shows a dismissible Web UI banner. Ingress integrations such as GitHub webhooks and OAuth/OIDC callbacks will not reach the local server until a public tunnel is configured.

Dev mode will:

  • start Nomatron locally
  • use your local Docker daemon to provision a temporary PostgreSQL instance
  • expose a public ngrok URL for GitHub callbacks and webhooks
  • create a default root login for local development

The published Nomatron container image is meant for the normal server runtime path, not for --dev. Dev mode needs the local Docker CLI available because it provisions its own temporary PostgreSQL dependency on demand.

5. Open The UI

Open Nomatron in your browser:

  • http://localhost:4649/ui

If the server logs print a public ngrok URL, keep that URL handy too. You will use it when creating GitHub callback and webhook URLs.

Sign in with the default root login:

  • Username: root
  • Password: nomatron123

Nomatron login page screenshot

Quick Check

Do not continue until:

  • your copied GitHub repository exists
  • the local Nomad dev agent is running
  • the server is running
  • you can open the UI
  • you can sign in as root
  • you have the public ngrok URL for GitHub setup