node.js app deploy to heroku PaaS

  • 1,196 views
Uploaded on

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

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,196
On Slideshare
0
From Embeds
0
Number of Embeds
8

Actions

Shares
Downloads
4
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Caesar Chi @clonncd deploy to https://www.heroku.com/ Monday, May 5, 14
  • 2. Install Command line Monday, May 5, 14
  • 3. install heroku cli parts install heroku-cli https://toolbelt.heroku.com/standalone Monday, May 5, 14
  • 4. heroku login command line input, Monday, May 5, 14
  • 5. Use Heroku dashboard Monday, May 5, 14
  • 6. https://dashboard.heroku.com/apps have to login, of course Monday, May 5, 14
  • 7. Monday, May 5, 14
  • 8. Monday, May 5, 14
  • 9. Monday, May 5, 14
  • 10. Monday, May 5, 14
  • 11. git remote add heroku git@heroku.com:example-test.git command line input, Monday, May 5, 14
  • 12. Set Procfile Monday, May 5, 14
  • 13. Procfile Added a file, called file content Monday, May 5, 14
  • 14. Import RSA keys Monday, May 5, 14
  • 15. heroku keys:add ~/.ssh/id_rsa.pub command line input, Monday, May 5, 14
  • 16. updated, app.js change port config Monday, May 5, 14
  • 17. Starting deploy Monday, May 5, 14
  • 18. command line input, Monday, May 5, 14
  • 19. create a worker for process, only 1 web is ok. command line input, Monday, May 5, 14
  • 20. http://XXXXXXX.herokuapp.com/ command line input, open browser from local machine Monday, May 5, 14
  • 21. Finished Monday, May 5, 14
  • 22. heroku dashboard heroku open Monday, May 5, 14
  • 23. Demo github reps https://github.com/nodejs-tw/example-week1 Monday, May 5, 14
  • 24. Problem || Issue Monday, May 5, 14
  • 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. https://devcenter.heroku.com/articles/quickstart#step-4- deploy-an-application Other issue??? Monday, May 5, 14
  • 27. Heroku getting start with node.js https://devcenter.heroku.com/articles/getting-started-with- nodejs Monday, May 5, 14
  • 28. @clonncd Monday, May 5, 14
  • 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