[Tutorial] How to use Heroku projects – cloud application platform

0
32

When you build succeed a website with Node.js, PHP or Ruby you want to deploy it to web host for study, for business or asking someone, somebody about bug, error in your source code

The problem you encountered?

=> Hard to find a free host support about your thing.
=> Every time you asking someone about source code, you must build a website up for local pc and show up to them
=> Time consuming, exhausting and money.

Solution: 

=> You should build a website on cloud application platform, so you can access it every where, every time. That help you so much! That’s on Heroku
 

How to use Heroku projects - cloud application platform
Heroku command

Beside,  Heroku free projects can support you many thing, see the list below. This projects is free but if you use for one team, you must charged with it!

– Java
– PHP
– Python
– Go
– Scale
– Clojure

 [Tutorial] How to use Heroku projects - cloud application platform

What is Heroku? 

Heroku is a cloud application platform – a new way of building and deploying web apps. Our service lets app developers spend their time on their application code, not managing servers, deployment, ongoing operations, or scaling.

Heroku was founded in 2007 by Orion Henry, James Lindenbaum, and Adam Wiggins. It was acquired by Salesforce in 2011, and Heroku is now part of the Salesforce App Cloud.

Heroku support three method for deploy your source code

– Heroku Git (Use Heroku Toolbelt) or Heroku command line
– Git huh
– Dropbox

Heroku basic command

Login (1)


$ heroku login

Clone the repository (2)


$ heroku git:clone -a vilh
$ cd vilh

Deploy your changes (3)


$ git add .
$ git commit -am "nake it better"
$ git push heroku master

Create your apps (4)


$ heroku create appsname

Init your projects (5)


$ git init

How to create your apps?

5 steps for create your apps

1. Login with heroku account (1)
2. Create your apps in your local disk (4)
3. Access your apps path by cd ….
4. Init your projects (5)
5. Deploy your changes (3)

Your web link here!

Live video tutorial

Have a nice day!
Zidane