Skip to content

Latest commit

 

History

History
44 lines (24 loc) · 994 Bytes

README.md

File metadata and controls

44 lines (24 loc) · 994 Bytes

[gitter][gitter] License Apache 2.0

www

Website

TODO:

buttons https://getbootstrap.com/docs/4.0/components/buttons/

Run Service on linux

Note if you're new to Unix: /var/www/myapp/app.js should have #!/usr/bin/env node

on the very first line.

Copy your service file into the /etc/systemd/system.

Start it with systemctl start myapp.

Enable it to run on boot with systemctl enable myapp.

See logs with journalctl -u myapp

npm install forever -g

forever start /path/to/yourApp.js

screen

The screen will detach and survive you logging off. Then you can get it back back doing screen -r. Hit up the screen manual for more details. You can name the screens and whatnot if you like

screen
node myserver.js

CTRL-A then hit D