Linux Mastering Development

Where should I put web application code in the file-system hierarchy

What would be the most FHS compliant and standard location for putting the source code of a web-app, let’s say a Flask app, be? I’ve looked around and haven’t found any definitive and satisfactory answer yet.

Edit :: Just to clarify, this is at the time of deployment, not development. So the source code will be served by something like gunicorn.

Leave an answer

Your email address will not be published. Required fields are marked *