Install node.js and the projects dependencies.
-
Go to the project's root directory:
cd %/path/to/this/project%
-
Copy your
public.pem
andprivate.pem
keys into the./config/jwt/
folder. -
Copy the service file and edit it:
cp linux-service/avalon-nodejs.service.dist linux-service/avalon-nodejs.service nano config/avalon-nodejs.service
-
Enable the new service and start it:
mv linux-service/avalon-nodejs.service /lib/systemd/system/avalon-nodejs.service systemctl enable avalon-nodejs.service service avalon-nodejs start