[data-reveal]{opacity:1!important;transform:none!important}
AntelopeJS DMS
DocumentationFirst-run setup

First-run setup

The six steps that put a DMS project online on AntelopeJS Cloud, and what applying the plan creates.

Six steps put the project online: connect, project, repository, plan, apply, done. The sidebar does not list the page. While this DMS has no project, the Overview, Environments and Connection pages lead to it. Once the plan is applied, the owner lands on the Overview.

The plan

The owner plans a new project, or links one the workspace has. A new project is named after the repository's folder and placed in a region AntelopeJS Cloud offers. The owner then picks the stages to add beside Production. Nothing is created on AntelopeJS Cloud before the plan is applied.

Applying the plan

Applying the plan for a project it creates:

  1. Creates the project, whose Production builds env/production of the GitHub repository of the origin remote.
  2. Links the project to that repository.
  3. Gives the app of Production its address.
  4. Creates the dashboard in Production, when the repository has a frontend.Dockerfile with a port AntelopeJS Cloud accepts. It comes before the stages so that each stage gets its own.
  5. Creates each chosen stage with the services of Production, and gives its app an address.

A project the plan links keeps its services, and every environment of it keeps its address or lack of one.

When AntelopeJS Cloud refuses the apply because it cannot see the repository, the page keeps a notice that says how to give it access. The notice stays until the project is planned again or an apply gets past the repository.

Running it again

Each part reads what exists first, so applying again after a failure creates only what is missing. Applies take their turn one after the other in the server. A second click waits for the first, then finds what it created, so no service, database or secret is made twice.

Which project the apply publishes

The apply never takes over a project the plan did not create. After an answer AntelopeJS Cloud lost, or under a name another run of the plan asked for without a refusal, it publishes the project with the planned name only when that project is in the planned region and builds from this repository. It refuses any other.

The plan stops counting a project as its own once AntelopeJS Cloud refused every run that asked for it, or once the connection publishes a project or stops publishing one. A project someone else then creates under the name is refused too. A run whose creation is refused for its name, while another run of the plan published that very project, publishes it too.

The app's address

A project the plan creates also gets its address. The app of Production, then of each stage, listens on the port of the first http server that antelope.config.ts gives @antelopejs/api, and is opened to the internet. An environment that has an address is left as it is, and so is every environment of a project the plan links. When the file names no such port, or one outside 1024 to 65535, the plan says so, applies everything else and opens nothing.