An organized and well-thought-out folder structure is crucial to keep track of your projects and be in full control of their states.
Currently, I...
For further actions, you may consider blocking this person and/or reporting abuse
I have a folder called
dev
and it's basically one big dumping ground πme i have a folder called projects i used to have a folder structure like
in_prog(in progress)
done(finished)
testing
play
but you know πππ I just started dumping stuff to a single folder
Best method imho π
Haha, seems pretty familiar ππ
Hey Mazda,
For me, it's obviously all in GIT.
But next to that my local environment is very simple:
--- www (the main folder, that's linked to my localhost)
---- git project 1 (no matter what, PHP, Angular, Ionic)
---- play (playground folder, can run simple PHP scripts)
----- script1.php
Basically it's
cd www
and runs whatever I need to start working on.I do clean up this directory if I don't have to work on this project for a while.
Also, a good one to keep track if all projects are committed:
Check git commit status
Thanks for the input πβ€
If I wasn't lazy my projects structure would be like this:
π πππ but i am lazy so I just throw my eggs in one basket
I am curious to what kind of projects you have that become "finished"? I don't think I've ever come to a "this project is perfect and thus finished" state yet. Personally I don't have enough projects going that splitting them up from
~/src
would make any sense :-)Agree with you, see my reply to Gary π
I installed a new SSD prior to beginning a boot camp in order to have a completely fresh directory tree that was separate from my Windows directory tree and cloud storage. Also makes navigating the terminal easier for git and node purposes. But I honestly hadn't put much thought into the organization of that drive yet. This is a great starting point. Thanks!
No problems, happy to help πβ€
This really got me thinking...
Iβve gotta get on the organization game.
Thanks for the thought provoking article!
Awesome to hear! π
Each move you take starts by setting the mind towards it πβ€
er- I wanna come back and thank you, I've organized my whole system in ways it should have been all along. I can really attribute it to this article. My computer and I surely thank you :)
What's a finished project?
I throw everything under /var/www/html with its own folder, and haveva separate sandbox project for trying stuff before it hits a project
Agree with the fact that the project is never actually finished, as theoretical, there are always more options to add and ways to improve it... πLet me re-phrase - these are the projects that have fulfilled the requirements (features) and the client is happy with π
I keep forgetting that people do freelance work and actually have multiple clients. I have my employer, and then just side projects which I tinker with for learning more than anything.
Basically, everything of mine is a folder relating to its repository within GitLab. Doesn't matter if it's web or something else. Web goes in
/var/www/html
anything else goes in/home/gary/Documents/code/
I have a folder called
webdev
in my pc where I put my all projects.I have a folder called
js-projects
because I really only program with JS and TS and I put what projects I have in separate folders there.