# # Ubuntu

DigitalOcean provides a great tutorial on how to run a Node.js based app in production. See How To Set Up a Node.js Application for Production on Ubuntu 20.04
(opens new window).

Instead of starting the app using `pm2 start hello.js`, add the line `"start": "gitaflow start"` in the "scripts" part of the package.json and start Gitaflow using the command `pm2 start npm -- start`

Example:

    {
      "name": "gitaflow",
      "version": "1.0.0",
      "main": "index.js",
      "scripts": {
        "test": "echo \"Error: no test specified\" && exit 1",
        "start": "gitaflow start"
      },
    ...
    }