Jitendra Zaa
Youtube Video URL
 http://youtu.be/jVkG9Kb07fc
Tools and Technology
 Language – Node.js
 Platform – Heroku
 Git – Bitbucket using SSH key
 IDE – Eclipse
 Eclipse Plugins
 Egit
 Heroku
 NodeEclipse
Setup Bitbucket (Optional)
Setup SSH Key in Bitbucket and
Heroku
 Create RSA SSH Key from Eclipse.
 Save that key in BitBucket as well as Heroku.
 Explained in article link provided in next slides.
Introduction to EGit
 Check this article :
 http://www.shivasoft.in/blog/salesforce/salesforce-git-
eclipse-egit-better-and-distributed-source-control/
Introduction to Heroku Plugin
 Check this –
 http://www.shivasoft.in/blog/java/creating-first-
application-in-heroku-using-eclipse/
Creating Blank Heroku Application
 In Eclipse, Click on Create New Project
 And select Heroku, assuming you have already
installed Heroku plugin in Eclipse.
 Refer article explained in starting of this presentation
Create sample Node.js startup File
Create Web.js file with following code
var express = require("express");
var logfmt = require("logfmt");
var app = express();
app.use(logfmt.requestLogger());
app.get('/', function(req, res) {
res.send('Hello World!');
});
var port = Number(process.env.PORT || 5000);
app.listen(port, function() {
console.log("Listening on " + port);
});
Create Package.json
 Open root application path in console
 Run “npm init” command and provide all information
 Now run below command
 npm install express logfmt --save
Create Package.json
 Add below entry in generated package.json
{
"engines": {
"node": "0.10.x"
}
}
Create Procfile
Only one line needs to enter
web: node Web.js
Commit to Git
 First Commit to Local
 Then
 Heroku
Assign Dyno to your application
 A dyno is a lightweight container running a single
user-specified command
 Assign 1 Dyno to your Heroku application which is free
How to check logs on Heroku
 Navigate to your Node.js application folder and run
below command :
 Heroku logs
Test your application
Thanks

More Related Content

PPTX
Introduction to bower
PDF
Web Applications with Eclipse RT and Docker in the Cloud
PPT
Dockerizing BDD : Ruby-Cucumber Example
PPT
Yeoman
PDF
GlassFish Embedded API
PDF
VCCW - Vagrant based WordPress development environment
PDF
Create your very own Development Environment with Vagrant and Packer
PPTX
Володимир Дубенко "Node.js for desktop development (based on Electron library)"
Introduction to bower
Web Applications with Eclipse RT and Docker in the Cloud
Dockerizing BDD : Ruby-Cucumber Example
Yeoman
GlassFish Embedded API
VCCW - Vagrant based WordPress development environment
Create your very own Development Environment with Vagrant and Packer
Володимир Дубенко "Node.js for desktop development (based on Electron library)"

What's hot (20)

PDF
Vagrant for real (codemotion rome 2016)
PPTX
Package Management on Windows with Chocolatey
PDF
Getting Started with Ansible
PDF
Wocker @WordBench Osaka No.41
PDF
Multi-provider Vagrant and Chef: AWS, VMware, and more
ODP
Building (localized) Vagrant boxes with Packer
PDF
DevOps - Infrastructure as Code by Andre Marcelo-Tanner
PDF
Welcome to Jenkins
PPTX
Vagrant to-aws-flow
PDF
Vagrant presentation
PDF
Multiple django applications on a single server with nginx
PDF
Node4J: Running Node.js in a JavaWorld
PDF
Kubeflow Development Environment
PDF
CocoaHeads Rennes #13 : CocoaPods
PPTX
How To Set a Vagrant Development System
PDF
node-webkit : Make a magic from your a desktop app to desktop app!
PDF
Node.js essentials
ODP
It Works On My Machine: Vagrant for Software Development
PPTX
Lessons Learned with Unity and WebGL
PDF
Running JavaScript Efficiently in a Java World
Vagrant for real (codemotion rome 2016)
Package Management on Windows with Chocolatey
Getting Started with Ansible
Wocker @WordBench Osaka No.41
Multi-provider Vagrant and Chef: AWS, VMware, and more
Building (localized) Vagrant boxes with Packer
DevOps - Infrastructure as Code by Andre Marcelo-Tanner
Welcome to Jenkins
Vagrant to-aws-flow
Vagrant presentation
Multiple django applications on a single server with nginx
Node4J: Running Node.js in a JavaWorld
Kubeflow Development Environment
CocoaHeads Rennes #13 : CocoaPods
How To Set a Vagrant Development System
node-webkit : Make a magic from your a desktop app to desktop app!
Node.js essentials
It Works On My Machine: Vagrant for Software Development
Lessons Learned with Unity and WebGL
Running JavaScript Efficiently in a Java World

Viewers also liked (6)

PPTX
Create Salesforce online IDE in 30 minutes
PPTX
Salesforce Lightning workshop Hartford - 12 March
PPTX
Apex Testing and Best Practices
PPTX
Connecticut Salesforce Developer Group - Jan 2017
PDF
node.js app deploy to heroku PaaS
PPTX
Intro to Apex - Salesforce Force Friday Webinar
Create Salesforce online IDE in 30 minutes
Salesforce Lightning workshop Hartford - 12 March
Apex Testing and Best Practices
Connecticut Salesforce Developer Group - Jan 2017
node.js app deploy to heroku PaaS
Intro to Apex - Salesforce Force Friday Webinar

Similar to Deploy Node.js application in Heroku using Eclipse (20)

PPT
Heroku for team collaboration
PPT
Heroku for-team-collaboration
PPTX
Introduction to Heroku - CCT London 2013
PDF
Heroku cloud platform
PPT
Ferrara Linux Day 2011
PPTX
Deploying your app.pptx
PPT
Dreamforce 13 developer session: Introduction to Heroku
PDF
Cloud Platform as a Service: Heroku
PDF
Introduction to cloud-native application development: with Heroku and Spring ...
PDF
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
PPTX
Weekly Tech Session
PDF
Heroku Introduction
PDF
SydJS.com
PPTX
Heroku
PDF
Introduction to Heroku
PPTX
Cd with Github Travis CI and Heroku
PDF
Node.js for Rubists
PDF
Node.js 101 with Rami Sayar
PPTX
Node.js System: The Approach
KEY
Node.js - The New, New Hotness
Heroku for team collaboration
Heroku for-team-collaboration
Introduction to Heroku - CCT London 2013
Heroku cloud platform
Ferrara Linux Day 2011
Deploying your app.pptx
Dreamforce 13 developer session: Introduction to Heroku
Cloud Platform as a Service: Heroku
Introduction to cloud-native application development: with Heroku and Spring ...
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
Weekly Tech Session
Heroku Introduction
SydJS.com
Heroku
Introduction to Heroku
Cd with Github Travis CI and Heroku
Node.js for Rubists
Node.js 101 with Rami Sayar
Node.js System: The Approach
Node.js - The New, New Hotness

More from Jitendra Zaa (20)

PPTX
Episode 13 - Advanced Apex Triggers
PPTX
Episode 18 - Asynchronous Apex
PPTX
Episode 15 - Basics of Javascript
PPTX
Episode 23 - Design Pattern 3
PPTX
Episode 24 - Live Q&A for getting started with Salesforce
PPTX
Episode 22 - Design Pattern 2
PPTX
Episode 21 - Design Pattern 1
PPTX
Episode 20 - Trigger Frameworks in Salesforce
PPTX
Episode 19 - Asynchronous Apex - Batch apex & schedulers
PPTX
Episode 17 - Handling Events in Lightning Web Component
PPTX
Episode 16 - Introduction to LWC
PPTX
Introduction to mulesoft - Alpharetta Developer Group Meet
PPTX
Episode 12 - Basics of Trigger
PPTX
Episode 11 building & exposing rest api in salesforce v1.0
PPTX
Episode 10 - External Services in Salesforce
PPTX
Episode 14 - Basics of HTML for Salesforce
PPTX
South East Dreamin 2019
PPTX
Episode 9 - Building soap integrations in salesforce
PPTX
Episode 8 - Path To Code - Integrate Salesforce with external system using R...
PPTX
Episode 6 - DML, Transaction and Error handling in Salesforce
Episode 13 - Advanced Apex Triggers
Episode 18 - Asynchronous Apex
Episode 15 - Basics of Javascript
Episode 23 - Design Pattern 3
Episode 24 - Live Q&A for getting started with Salesforce
Episode 22 - Design Pattern 2
Episode 21 - Design Pattern 1
Episode 20 - Trigger Frameworks in Salesforce
Episode 19 - Asynchronous Apex - Batch apex & schedulers
Episode 17 - Handling Events in Lightning Web Component
Episode 16 - Introduction to LWC
Introduction to mulesoft - Alpharetta Developer Group Meet
Episode 12 - Basics of Trigger
Episode 11 building & exposing rest api in salesforce v1.0
Episode 10 - External Services in Salesforce
Episode 14 - Basics of HTML for Salesforce
South East Dreamin 2019
Episode 9 - Building soap integrations in salesforce
Episode 8 - Path To Code - Integrate Salesforce with external system using R...
Episode 6 - DML, Transaction and Error handling in Salesforce

Recently uploaded (20)

PDF
Difference Between Website and Web Application.pdf
PDF
SBOM Document Quality Guide - OpenChain SBOM Study Group
PDF
Mobile App for Guard Tour and Reporting.pdf
PPTX
Advanced Heap Dump Analysis Techniques Webinar Deck
PPTX
Presentation - Summer Internship at Samatrix.io_template_2.pptx
PDF
solman-7.0-ehp1-sp21-incident-management
PPTX
UNIT II: Software design, software .pptx
PPTX
Comprehensive Guide to Digital Image Processing Concepts and Applications
PDF
Science is Not Enough SPLC2009 Richard P. Gabriel
PDF
C language slides for c programming book by ANSI
PPTX
SQL introduction and commands, SQL joining
PDF
IObit Driver Booster Pro Crack Latest Version Download
PPTX
AI Tools Revolutionizing Software Development Workflows
PDF
WhatsApp Chatbots The Key to Scalable Customer Support.pdf
PDF
Streamlining Project Management in Microsoft Project, Planner, and Teams with...
PDF
Canva Desktop App With Crack Free Download 2025?
PPTX
Post-Migration Optimization Playbook: Getting the Most Out of Your New Adobe ...
PDF
Software Development Company - swapdigit | Best Mobile App Development In India
PPTX
FLIGHT TICKET API | API INTEGRATION PLATFORM
PPTX
SAP Business AI_L1 Overview_EXTERNAL.pptx
Difference Between Website and Web Application.pdf
SBOM Document Quality Guide - OpenChain SBOM Study Group
Mobile App for Guard Tour and Reporting.pdf
Advanced Heap Dump Analysis Techniques Webinar Deck
Presentation - Summer Internship at Samatrix.io_template_2.pptx
solman-7.0-ehp1-sp21-incident-management
UNIT II: Software design, software .pptx
Comprehensive Guide to Digital Image Processing Concepts and Applications
Science is Not Enough SPLC2009 Richard P. Gabriel
C language slides for c programming book by ANSI
SQL introduction and commands, SQL joining
IObit Driver Booster Pro Crack Latest Version Download
AI Tools Revolutionizing Software Development Workflows
WhatsApp Chatbots The Key to Scalable Customer Support.pdf
Streamlining Project Management in Microsoft Project, Planner, and Teams with...
Canva Desktop App With Crack Free Download 2025?
Post-Migration Optimization Playbook: Getting the Most Out of Your New Adobe ...
Software Development Company - swapdigit | Best Mobile App Development In India
FLIGHT TICKET API | API INTEGRATION PLATFORM
SAP Business AI_L1 Overview_EXTERNAL.pptx

Deploy Node.js application in Heroku using Eclipse

  • 2. Youtube Video URL  http://youtu.be/jVkG9Kb07fc
  • 3. Tools and Technology  Language – Node.js  Platform – Heroku  Git – Bitbucket using SSH key  IDE – Eclipse  Eclipse Plugins  Egit  Heroku  NodeEclipse
  • 5. Setup SSH Key in Bitbucket and Heroku  Create RSA SSH Key from Eclipse.  Save that key in BitBucket as well as Heroku.  Explained in article link provided in next slides.
  • 6. Introduction to EGit  Check this article :  http://www.shivasoft.in/blog/salesforce/salesforce-git- eclipse-egit-better-and-distributed-source-control/
  • 7. Introduction to Heroku Plugin  Check this –  http://www.shivasoft.in/blog/java/creating-first- application-in-heroku-using-eclipse/
  • 8. Creating Blank Heroku Application  In Eclipse, Click on Create New Project  And select Heroku, assuming you have already installed Heroku plugin in Eclipse.  Refer article explained in starting of this presentation
  • 9. Create sample Node.js startup File Create Web.js file with following code var express = require("express"); var logfmt = require("logfmt"); var app = express(); app.use(logfmt.requestLogger()); app.get('/', function(req, res) { res.send('Hello World!'); }); var port = Number(process.env.PORT || 5000); app.listen(port, function() { console.log("Listening on " + port); });
  • 10. Create Package.json  Open root application path in console  Run “npm init” command and provide all information  Now run below command  npm install express logfmt --save
  • 11. Create Package.json  Add below entry in generated package.json { "engines": { "node": "0.10.x" } }
  • 12. Create Procfile Only one line needs to enter web: node Web.js
  • 13. Commit to Git  First Commit to Local  Then  Heroku
  • 14. Assign Dyno to your application  A dyno is a lightweight container running a single user-specified command  Assign 1 Dyno to your Heroku application which is free
  • 15. How to check logs on Heroku  Navigate to your Node.js application folder and run below command :  Heroku logs