Caesar Chi @clonncd
deploy to
https://www.heroku.com/
Monday, May 5, 14
Install Command line
Monday, May 5, 14
install heroku cli
parts install heroku-cli
https://toolbelt.heroku.com/standalone
Monday, May 5, 14
heroku login
command line input,
Monday, May 5, 14
Use Heroku dashboard
Monday, May 5, 14
https://dashboard.heroku.com/apps
have to login, of course
Monday, May 5, 14
Monday, May 5, 14
Monday, May 5, 14
Monday, May 5, 14
Monday, May 5, 14
git remote add heroku git@heroku.com:example-test.git
command line input,
Monday, May 5, 14
Set Procfile
Monday, May 5, 14
Procfile
Added a file, called
file content
Monday, May 5, 14
Import RSA keys
Monday, May 5, 14
heroku keys:add ~/.ssh/id_rsa.pub
command line input,
Monday, May 5, 14
updated, app.js
change port config
Monday, May 5, 14
Starting deploy
Monday, May 5, 14
command line input,
Monday, May 5, 14
create a worker for process, only 1 web is ok.
command line input,
Monday, May 5, 14
http://XXXXXXX.herokuapp.com/
command line input,
open browser from local machine
Monday, May 5, 14
Finished
Monday, May 5, 14
heroku dashboard
heroku open
Monday, May 5, 14
Demo github reps
https://github.com/nodejs-tw/example-week1
Monday, May 5, 14
Problem || Issue
Monday, May 5, 14
Make sure
• Your project already use via git
• package.json is required
• dependency should be setting
• Procfile have to n...
https://devcenter.heroku.com/articles/quickstart#step-4-
deploy-an-application
Other issue???
Monday, May 5, 14
Heroku getting start
with node.js
https://devcenter.heroku.com/articles/getting-started-with-
nodejs
Monday, May 5, 14
@clonncd
Monday, May 5, 14
Its 201405 ver
• every spec should be followed Heroku
• node.js version should be notice
• logo’s copyright be companys
Mo...
Upcoming SlideShare
Loading in...5
×

node.js app deploy to heroku PaaS

1,470

Published on

tech node.js developer how to deploy apps to heroku, and how to quick setup heroku.

it is for all over platform, whatever your platform is, can follow steps to deploy to heroku.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,470
On Slideshare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
8
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

node.js app deploy to heroku PaaS

  1. 1. Caesar Chi @clonncd deploy to https://www.heroku.com/ Monday, May 5, 14
  2. 2. Install Command line Monday, May 5, 14
  3. 3. install heroku cli parts install heroku-cli https://toolbelt.heroku.com/standalone Monday, May 5, 14
  4. 4. heroku login command line input, Monday, May 5, 14
  5. 5. Use Heroku dashboard Monday, May 5, 14
  6. 6. https://dashboard.heroku.com/apps have to login, of course Monday, May 5, 14
  7. 7. Monday, May 5, 14
  8. 8. Monday, May 5, 14
  9. 9. Monday, May 5, 14
  10. 10. Monday, May 5, 14
  11. 11. git remote add heroku git@heroku.com:example-test.git command line input, Monday, May 5, 14
  12. 12. Set Procfile Monday, May 5, 14
  13. 13. Procfile Added a file, called file content Monday, May 5, 14
  14. 14. Import RSA keys Monday, May 5, 14
  15. 15. heroku keys:add ~/.ssh/id_rsa.pub command line input, Monday, May 5, 14
  16. 16. updated, app.js change port config Monday, May 5, 14
  17. 17. Starting deploy Monday, May 5, 14
  18. 18. command line input, Monday, May 5, 14
  19. 19. create a worker for process, only 1 web is ok. command line input, Monday, May 5, 14
  20. 20. http://XXXXXXX.herokuapp.com/ command line input, open browser from local machine Monday, May 5, 14
  21. 21. Finished Monday, May 5, 14
  22. 22. heroku dashboard heroku open Monday, May 5, 14
  23. 23. Demo github reps https://github.com/nodejs-tw/example-week1 Monday, May 5, 14
  24. 24. Problem || Issue Monday, May 5, 14
  25. 25. Make sure • Your project already use via git • package.json is required • dependency should be setting • Procfile have to named Procfile • git remote have set to heroku rep in Monday, May 5, 14
  26. 26. https://devcenter.heroku.com/articles/quickstart#step-4- deploy-an-application Other issue??? Monday, May 5, 14
  27. 27. Heroku getting start with node.js https://devcenter.heroku.com/articles/getting-started-with- nodejs Monday, May 5, 14
  28. 28. @clonncd Monday, May 5, 14
  29. 29. Its 201405 ver • every spec should be followed Heroku • node.js version should be notice • logo’s copyright be companys Monday, May 5, 14
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×