I am not ashamed accepting the fact that AdonisJs never shared any documentation or tooling around deployments.
Ideally, AdonisJs needs no extra care when deploying it to production and works like any other Node.js app. However, I cannot deny the fact that majority of users are using Node.js for the first time and hence they have no prior experience with Node.js at all.
I will be working dedicatedly to write more documentation around how to deploy your apps in production. Everything you have to do from you should consider.
To get started I recommend reading this article on scotch.io
I a couple of weeks you will find a bunch of new docs around.
There are a bunch of great tools in the market used by small, medium and large-scale companies. It includes Docker, Ansible, Nomad and so on. I am never going to write one from scratch.
However, instead, I will try to build a small deployment pipeline wrapper, which uses these to deploy an AdonisJs application to production servers.
The text was updated successfully, but these errors were encountered:
I'll just drop this here in case it's helpful for anyone finding this issue. pm2 is a node module that facilitates the deployment of Node applications and provides a nice dashboard to see how everything is going. Admittedly pm2 is owned by the company keymetrics and they give it out for free in hopes of you signing up for a paid plan, but the free plan allows you to monitor 3 servers and have several buckets running.