linux directory location best practices for software development

3.7k views Asked by At

I am new to linux (ubuntu) and am tasked to develop web pages using vscode. What would be the ideal location for me to keep my project directories? I don't want to be illogical or pollute a file system convention I don't know about.

3

There are 3 answers

3
Alex On

Personal projects all belong in the /home/ directory. When you're ready to test you'll symlink to the directroy you host from. When you're done with the project you'll have to decide where the best "permanent" location is. See the File System Hierarchy Standard for details.

0
Naimul Islam On

You can automount external drive and use that drive to save your projects.

0
Daniel De León On

According the Filesystem Hierarchy Standard I recommend create a directory inside

/var/lib/

with the name of the application, just like this:

/var/lib/my-app