No, I am not talking about a project’s structure, but the directory structure for all of your projects, and repositories. All my projects are git repositories, and I store them under “My Documents/Code” … I saw a friend who was keeping all his projects in Dropbox, pretty redundant if you ask me.
So, what is your approach? Do you keep them all organised under a folder, or are they spread throughout your system?
I use WAMP SO most of my projects are in 'c:\wamp\www'. And then apply what @chilimatic said with prototypes etc.
normal git repos are
the reason why i seperated prototypes from the common repos is that I don't always version them in the beginning. that's all nothing fancy or insightful.
I maintain my folders as GitHub and bitbucket and create projects there In Github, my public, forked repos reside and bitbucket my office/company projects It's very simple no need to think lot about the folder structure
Mev-Rael
Executive Product Leader & Mentor for High-End Influencers and Brands @ mevrael.com
After many years of coding including freelance, different companies, startups and contribution to open source projects I came up with simple directory structure for all my projects in past, present and future:
S:/www/<company name>/<project name>where<company name>might be the GitHub organization name, university name, your own non-profit or just freelance/self and in some cases you might create 1 additional directory level.Some examples:
S:/www/bunny/bunny
S:/www/bunny/assets-builder
S:/www/laravel/framework
S:/www/twbs/bootstrap
S:/www/company1/project1
S:/www/company1/project5
S:/www/company3/project2
S:/www/schoolname/studentname/projectname - since I am also teaching
S:/www/test/... - for fast tests, ideas, tmp work
Same structure I keep on all my devices, on unix it is just /home/mevrael/www
All the above
wwwstores git repos (for web projects obviously). If there are some documents or other files - they are just stored in generalS:/projects/samestructure. For iOS Swift projects I havexcodefolder instead of www and if I still would do gamedev it could beS:/gamedev/With this structure you won't have any problems in the future. When you start working in a new company or on a new open source project, just create a main directory for all company/organization projects.