How to launch Nodejs - etherpad-lite in VirtEngine

Introduction

Etherpad is a really-real time collaborative editor maintained by the Etherpad Community.Etherpad is designed to be easily embeddable and provides a HTTP API that allows your web application to manage pads, users and groups. It is recommended to use the available client implementations in order to interact with this API.

This tutorial will guide you in launching a Nodejs web application (etherpad-lite) in VirtEngine.

Prerequisites

  • You are running Ubuntu 14.04 or Linux workstation.

  • Git installed on your workstation, which you can do by following the How To Install Git with Apt.

  • You have an account on GitHub, which is a Git repository host.

  • You have to create a valid credential for accessing https://console.VirtEngine.com. How to create an account with VirtEngine

  • You have to install openssh-server for ssh access in your worstation.

      sudo apt-get install openssh-server
    
  • Check SSH working properly

      ps aux | grep sshd
    

This initial section contains everything you need to get etherpad-lite running on your server.

Step-1 Fork etherpad-lite

  • Fork etherpad-lite from https://github.com/verticeapps/node_etherpad.git

  • You will be see the fork option in the top right corner of the git hub page.click the fork option.

  • The node_etherpad is forked into your git repository

Step-2 Launch the app

  1. Go to VirtEngine Dashboard

  2. Click Marketplace on the top bar.Marketplace contains all the linux distros, applications, services and microservices which VirtEngine supports.

  3. Click Nodejs Icon.A window will pop up for your repository selection.

  4. Pick a repository by choosing your git repository.

Let us use Github: < mygithub >/node_etherpad

  1. You can create new sshkey or use an existing sshkey or upload your own sshkeys too.

  2. To Launch Nodejs App.Click Create.

  • Voila ! Your App is up to date.

  • Now that you have launched your app, you might want to launch a service (database) and bind it

Start Script

VirtEngine will look for a start script named start,
ensure that your git repository have the start script file as follows.

#!/bin/sh ./bin/run.sh –root

Step-3 Open Your Web browser

You can access your web page using https://IP_ADDRESS/9001

###Conclusion

These are the very simple steps to launch a Nodejs web app (etherpad-lite) using github repository.

Deploy Nodejs app now

VirtEngine by DET.io

VirtEngine by DET.io
VirtEngine specializes in building Virtualization Software and powering Cloud Service Providers / Hosting Providers..

Meet VirtEngine at HostingCon India 2016!

Virtualization platform VirtEngine will be exhibiting in HostingCon India 2016! Continue reading

Installing VirtEngine on CentOS

Published on October 18, 2016

Cassandra Replication - HA

Published on July 14, 2016