nelsonmaligro / e-Dokyumento

Document Management System with Machine Learning and Document Workflow and Routing
14 stars 6 forks source link

pm2 for process management #44

Closed joshxyzhimself closed 2 years ago

joshxyzhimself commented 2 years ago

Hi there, just noticed that the guide uses forever and nodemon.

Maybe PM2 could be a possible alternative?

https://pm2.keymetrics.io/

# install pm2
npm install pm2 --global

# start index.js
pm2 start ./index.js

# create pm2 startup script
pm2 startup

# save the process list
pm2 save

# monitor the process
pm2 monit

# view the logs
pm2 logs
nelsonmaligro commented 2 years ago

Thank u for d feedback sir.

Yes sir...pm2 is an option but issues arise during call to execute python programs.


From: joshxyzhimself @.> Sent: Thursday, 23 September 2021 9:59 PM To: nelsonmaligro/e-Dokyumento @.> Cc: Subscribed @.***> Subject: [nelsonmaligro/e-Dokyumento] pm2 for process management (#44)

Hi there, just noticed that the guide uses forever and nodemon.

Maybe PM2 could be a possible alternative?

https://pm2.keymetrics.io/

install pm2

npm install pm2 --global

start index.js

pm2 start ./index.js

create pm2 startup script

pm2 startup

save the process list

pm2 save

monitor the process

pm2 monit

view the logs

pm2 logs

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/nelsonmaligro/e-Dokyumento/issues/44, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA2BCHO5JEHFXO3CKL7EETLUDOPLVANCNFSM5EUUISEA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

joshxyzhimself commented 2 years ago

Noted sir, thank you.