GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ravdy/test-nodejs-app

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
Jenkinsfile
Jenkinsfile
 
 
README.md
README.md
 
 
package.json
package.json
 
 
server.js
server.js
 
 

Repository files navigation

Build and Deploy nodejs application on EC2 instance - Freestyle

Pre-requisites

  1. A Jenkins server
  2. A EC2 instance (Application server) and deploy node.js

Setup nodejs packages on jenkins (needed for build) and application server (needed to deploy)

  1. Enable nodejs packages on Linux server

    curl -sL https://rpm.nodesource.com/setup_15.x | bash -
  2. install development tools.

    yum groupinstall 'Development Tools'
  3. Install nodejs

    yum -y install nodejs

Setup Jenkins job

Fork nodejs applicaton onto your repository

Github URL: https://github.com/ravdy/nodejs.git

Using simple "hello world" application from the nodejs.org website

On Jenkins GUI

  1. Create the new FreeStyle Project
    Git URL - https://github.com/ravdy/nodejs.git

BUILD --> Execute Shell npm install

npm install
tar czf easyio.tar-$BUILD_NUMBER.gz node_modules main.js package.json public LICENSE

To Deploy on nodejs application server

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

12 stars

Watchers

2 watching

Forks

841 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.