Skip to content

faas-ovh/app-php-debian

Repository files navigation

[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

About

Linux Environment for APP based on PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published