วิธีการ run node.js บน server ด้วย pm2
ปกติตอนเราเขียนโปรแกรมแบบ web application ด้วยภาษา node.js นั้นตอนที่เราเขียนก็มักสั่งรันด้วย node command หรือ npm command แต่หลังจากเราเขียนเสร็จก็ย่อยจะต้องนำโปรแกรมที่เราพัฒนาเสร็จนั้นมา run บน server ซึ่งในการให้โปรแกรมเราทำงานบน server…