New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooling around deployments #52

thetutlage opened this Issue Nov 8, 2017 · 6 comments


None yet
6 participants

thetutlage commented Nov 8, 2017

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.

Writing docs

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

I a couple of weeks you will find a bunch of new docs around.

  1. Deploying apps to Digital Ocean, with nginx or ha-proxy server.
  2. Deploying apps to Heroku
  3. Moreover, to s3.
  4. Automating deployments with Github hooks and Github deployment API


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.


This comment has been minimized.

watzon commented Nov 9, 2017

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.


This comment has been minimized.

webdevian commented Nov 9, 2017

I use PM2 too (in dev and production), I don't think there's a better node process manager out there


This comment has been minimized.

ThodorisElissaios commented Nov 11, 2017

I also think that pm2 is the best node process manager!


This comment has been minimized.


RomainLanz commented Nov 11, 2017

We speak about deployment here, pm2 is something different.


This comment has been minimized.

watzon commented Nov 11, 2017

@RomainLanz my only point was that pm2 can be used for deployments. There is also a tool called shipit which works well. I would very much like to see a deploy tool for Adonis though if we ever got to that point


This comment has been minimized.

radmen commented Nov 13, 2017

To be honest I don't think this is a think that should be done in near future. Basically, we're talking here about Node.js application, so any tutorial about a deployment of such applications will be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment