0
To keep the Nodejs server running permanently on the computer is the following procedure;
$ npm install forever
$ forever start server.js
However, how do I make my Angular application run permanently on the computer?
If I restart my computer it would be running my Angular application.
Your application is running inside or outside a web browser?
– Giovanni Nunes
My application runs on a web browser
– wladyband
So, if the server is running automatically the application will also be, provided that the web server is making all the necessary files available to the clients (type: the server goes up and the HTML, CSS, JS, images etc pages are already available).
– Giovanni Nunes
I’ll take a test today I give back.
– wladyband
After copying the contents of the dist folder and just copy to any web server that should work.
– Eduardo Vargas
in both cases did not catch, if I put the dist folder in the server Tomcat does not catch, if I take and run the command Forever start server.js it even goes up the application, but it is not in the automatic, if I restart the pc and then try to access the page it does not go up.
– wladyband