- run
npm run build - run
npm run deploy - run
ssh [email protected] - go to
/home/api/api folder - run
tar -xvzf api.tar.gz - run
npm install - run
npm run forever
Rename the unix_service to api and add it in folder etc/init.d
- go to
etc/init.d - chmod a+x api
- update-rc.d api defaults
- service api {start|stop|restart|status}