Three-step deployment of the node app to Heroku

Source: Internet
Author: User

Heroku is a cloud platform that provides rapid deployment services. Support Node,ruby,java,php,python,go Multi-lingual, experience today, simply not too cool. Here's a quick introduction.

First, or you want to register an account: Https://signup.heroku.com/login

Do not know why, here 163 mailbox can not pass, QQ May. Then select Language node. js.

After successful registration, activate the mailbox and fill in the password.

1. Create an app

Login to the panel to create an app

Name is optional

2. Connect to GitHub

Once the creation is successful, go to the app's deployment page. Three deployment methods are available, Heroku Git,github and Dropbox.

  default is Herogit mode, here we choose GitHub mode. GitHub authorizes you to query your project below, select Getting-mean

  If there is no Git project for node, fork over to play. https://github.com/stoneniqiu/getting-MEAN/branches/stale 

3. Publish

After a successful connection, you can select the branch that is automatically deployed and deployed.

  Select Master here, the following interface appears after successful deployment, click View to access. The

Page opens as follows, the domain name is also very regular, is not great.

If you want to delete the app, in the Settings column. The free space is 300M.   Summary: This article is just a simple introduction, not counting as long as three steps can complete a node project deployment, relative to the use of virtual machine or cloud, Heroku the code hosting and deployment together, and can deploy different branches, this is very convenient. FTP-Passing code and deploying it remotely on the cloud are tedious. Heroku the experience of this way value. Official website: https://www.heroku.com/Introduction: Https://devcenter.heroku.com/articles/how-heroku-works

 

Three-step deployment of the node app to Heroku

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.