Brand
Brand

Reputation: 1701

organizing source code in filesystem on mac osx

Any recommendations on a good way to organize source code on mac osx? I'm usually doing ruby or ruby on rails development and I have a lot of past projects in classic asp and asp.net MVC C#. I also have a lot of git repos I download from github.

I want some general guidlines but I do have a few specific questions.

Should I put my source code files under my user. So like this

/Users/Brand/MySourceFiles/...

Or should I put it under the root? I prefer the root but dunno if that's a bad idea.

/MySourceFiles/...

Should I keep my website project separate from my non-website projects?

For website projects I have a lot of photoshop files, where should those go?

Any reason I should keep my .net and rails projects in different folders? Like one for asp.net and one for rails?

Upvotes: 4

Views: 4414

Answers (1)

Ernest Friedman-Hill
Ernest Friedman-Hill

Reputation: 81694

"Under your user", i.e., in your home directory. Many folks like to have a src directory in their home directory which they use for source code. I don't think you'll find any consensus on how to organize that src folder -- most of the time it's just flat, with many subdirectories in it.

Upvotes: 7

Related Questions