Deploy API Maker
Deploy API Maker
- Install another version of API Maker on every server of the cluster from the Deploy API Maker page of the admin panel.
- This page upgrades API Maker itself. To deploy your APIs, use a Git pull. Learn more Git.
Two ways
- Deploy from NPM: pick a published version and click Deploy. It is downloaded from the official npm registry.
- Upload a bundle: select a local API Maker
.tgzor.tar.gzfile, up to 100 MB.
What happens on each server
- The bundle is written to disk and extracted.
- The old install is cleared.
.env,local.envandlicense.txtare kept. - The new files are copied into place.
- Dependencies are installed.
-
The environment is written into the bundled admin panel.
-
The page shows a card per server and the live log of each stage.
- When every server has installed it, the page restarts all backend processes and waits until they answer on the new version.
- If a server reports an error or does not answer in time, the cluster is not restarted.
Good to know
- A deployment waits up to 20 minutes for the servers to finish.
- If the WebSocket connection of the page is down, the deployment keeps running and the page reports the result when it ends.