Heroku
Publish Project
//login heroku CLI
heroku login

//add https://git.heroku.com/projectName.git to the remote repository
heroku git:remote -a projectName

//deploy application
git add .
git commit -am "make it better"
git push heroku master

//default domain
https://projectName.herokuapp.com/
		
CLI
heroku login // login CLI

heroku create // create a heroku app with random name

//Heroku Builds
heroku plugins:install heroku-builds // install
heroku builds:create -a example-app // archive, upload and build
heroku builds:create --source-url https://github.com/heroku/node-js-sample/archive/master.tar.gz -a exam // Create build from tarball URL
heroku builds:create --source-tar master.tar.gz -a example-app //Create build from local tarball

//Heroku Repo plugin
heroku plugins:install heroku-repo // install
heroku repo:clone -a appname // clone app to local
heroku repo:download -a appname // download
heroku repo:reset -a appname // empty the remote repository

		
Reference
  • Documentation