Deploy Meteor on Windows

后端 未结 2 1328
梦毁少年i
梦毁少年i 2021-02-04 10:47

I find it rather weird that there are no detailed step by step explanations on how to deploy your own Meteor webapp onto your own Windows server. Or maybe I\'m just not able

2条回答
  •  不要未来只要你来
    2021-02-04 11:43

    Well, their page about custom deployment is quite short and I discovered some facts while managing to deploy the Welcome to Meteor application:

    • the ROOT_URL environment variable is required but seems that the port number inside makes no sense.
    • the port number is defined by the PORT environment variable or assigned by node. This PORT variable is not mentioned in the guide. I used the netstat command to find out the port used.
    • the MONGO_URL environment variable is optional in this application.
    • must run npm install before executing the meteor build

    Hope this help.

提交回复
热议问题