Overview
Nomatron is in early access. Some advanced workflows may not be covered in the public docs.
On this page
Estimated time: 2 minutes
This guide takes you from local setup to a multi-stage delivery flow.
Use this guide to prove the workflow locally before connecting a customer-owned Nomad environment.
Prerequisites
- Git installed locally
- Docker installed and running locally
- Nomad installed locally
- a GitHub account with permission to create a GitHub App
- a GitHub template repository you can copy into your own user or organization
- an
ngrokaccount so Nomatron can expose a local dev callback URL
This quick start uses a local Nomad dev agent on your machine, so you do not need a separate cluster or ACL token for your first deployment.
The walkthrough starts with a simple NOMAD job and one app environment for the first deployment, then expands into a TEMPLATE job with multiple app environments, approval rules, variables, and promotion between environments.
You will:
- Copy the template repository into your own GitHub user or organization.
- Start a local Nomad dev agent.
- Sign up for
ngrokand copy your auth token. - Start Nomatron from the installed binary in dev mode with the
ngroktoken. - Open the Nomatron UI and sign in with the default root login.
- Create an organization.
- Create and install a GitHub App.
- Create an app and job in Nomatron.
- Add the first app environment.
- Add an app approval policy.
- Start the first deployment from the app stack.
- Review the queued plan and approve it.
- Watch Nomatron deploy the approved stack and verify it in Nomad.
- Add a second app and a
TEMPLATEjob. - Create multiple app environments.
- Add environment-specific approval rules.
- Create the variables expected by the template repository.
- Push another change and follow it through render, plan, approval, and deployment.
- Promote that change to another environment.
- Review what you built, then clean up the local dev setup and GitHub App.
