Running and managing nodejs applications on single server

前端 未结 5 602
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-31 21:19

Is there a good way to run and manage multiple nodejs apps on a single server?

I\'ve been looking at haibu and nodester, but they seem a little complex for what I am try

5条回答
  •  执笔经年
    2021-01-31 22:10

    These days I've taken to using dokku which is a OSS clone of heroku. Deploying is as simple as making sure your package.json contains a start script. For example:

    "scripts": {
      "start": "node index.js"
    }
    

    Sample App

提交回复
热议问题