Deploying a Sails.js app to Heroku?

后端 未结 3 876
[愿得一人]
[愿得一人] 2021-01-30 18:33

I have limited experience deploying Node.js apps -- how can I deploy a Sails.js app to Heroku?

I\'ve heroku logined and heroku created my app a

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-30 18:52

    I want to prevent any confusion for those who are familiar to node deployment on heroku. There are a lot of guides to deploying node apps to heroku and a sails app is really no different. If you start a sails app by typing "node app.js" in terminal it will work. Here is the guide put out by Heroku for node apps. The only thing different is that you have a sails rather than a plain vanilla express app.

    https://devcenter.heroku.com/articles/getting-started-with-nodejs

    I've used this to deploy my sails apps no problem.

提交回复
热议问题