Skip to content

cybera/heat-generator-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heat-generator-service

Project to create Heat Generator Service web app

To Manualy Install: clone project

git pull https://github.com/cybera/heat-generator-service master

Install Node then install dependencies

cd /project-path/
sudo apt update
sudo apt install nodejs
sudo apt install npm
sudo npm install  

Then install laucher (pm2)

sudo npm install -g pm2 
pm2 start -n "Heat Generator Service" hgs.js
pm2 startup

Then run the startup command as instructed. This will create a systemd service and set up start on boot. Eg:

sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u ubuntu --hp /home/ubuntu
pm2 save

To run manually if not running:

cd /project-path/
pm2 start -n "Heat Generator Service" hgs.js

Launch url:

http://<ip>:8043

To list process:

pm2 list

To restart manually a process (after update for example):

pm2 restart <id of process>

About

Project to create Heat Generator Service web app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published