3

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.

FairSite2C
  • 81
  • 3
  • 7

3 Answers3

3

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.

Alex
  • 1,172
  • 11
  • 31
  • sounds reasonable. should I create a directory like /home/projects and create sub folders for each project? Looking at the File System Hierarchy Standard is seems almost like var would be the proper place.Variable data, such as logs, databases, websites, and temporary spool (e-mail..) files – FairSite2C Sep 14 '17 at 20:17
  • You can make whatever directory structure you need. The home directory is kind of like the "my documents" folder of windows in the way it is used – Alex Sep 14 '17 at 20:55
  • sounds good and I am satisfied. Alex how do I give you some kind of up vote? Seems like a big deal here but don't see any means to give an atta boy. – FairSite2C Sep 14 '17 at 22:16
0

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

0

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

Daniel De León
  • 13,196
  • 5
  • 87
  • 72