Answer the question
In order to leave comments, you need to log in
Is there a common practice in which directory to put Node applications on a Linux server?
I ran into difficulties that as the complexity of applications, configs, etc. grows, some kind of systematization is needed. Now I just dump everything into a /home/$USER
directory, but this is not convenient, because. often in the configs you need to dynamically specify $USER and there is no way to transfer it there, you have to hardcode, and this is already bad and not convenient.
Surely there are practices where to dump the source code of applications? Not in the home directory, but somewhere like /var/www
? It's clear that I can stuff it anywhere, but every place has a meaning.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question