简体   繁体   中英

Where can i upload an Express application on webserver?

我是快递环境中的新手,我有一个问题(我知道这可能是一个愚蠢的问题):一旦我创建了自己用node.js编写的应用程序,我可以在哪里上传这个应用程序?

It sounds like you're basically trying to figure out how to deploy a Node application so you can use it publicly.

Good question.

I think the simplest way (and this is just one of many) is to use Heroku . I'm not affiliated with them at all.

Once you've signed up for Heroku, you can essentially deploy your Node app to their service using just a few command line commands:

$ heroku create
$ git push heroku master
$ heroku open

This will essentially create a new Herkou app, deploy your application there, then open your browser to the newly deployed app page so you can test it out.

Heroku is a hosting provider that lets you deploy apps using Git, and handles all of the dependencies, etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM