0

Simple question, which of these is a better directory setup for locating my project and why, as I have seen both recommended on different tutorial sites:

Option 1:

/var/www/<projectname>/project
/var/www/<projectname>/venv

Option 2:

/home/<username>/project
/home/<username>/venv
Jimmy
  • 269
  • 4
  • 7
  • 23
  • 1
    It depends on your needs. Putting it under /var/www is more generic and better for sharing with others; keeping it under your own home directory would perhaps be better for your own development copy. – Jenny D Mar 07 '14 at 09:46

1 Answers1

1

/var/www/ is a common place for web projects.

One option is to create a symlink from /home/<username>/project to /var/www/<projectname>/project so wherever you look, you'll find your project.

Drew Khoury
  • 4,637
  • 8
  • 27
  • 28