6 ms·
Most of my coding is hobby or university assignments because of that, my structure is pretty simple. I also compile a lot of programs and install them to my lo
by d0nk 16y ago
Most of my coding is hobby or university assignments because of that, my structure is pretty simple. I also compile a lot of programs and install them to my local/ prefix within my home directory (minimize system-wide clutter and restrict apps to just my homedir).
~/src - All of my personal projects, project structure varies depending on language/type of project. Most directories/project top-levels are scm directories.
~/build - any apps/libs not made by me that I compile and install local to my home directory
~/local - items from build/ get compiled with --prefix=${HOME}/local and install to here, ~/local/bin is in my path
~/www/(sub.domain.tld)/ - apache vhosts for local testing stuff (not production)
My $PATH contains ${HOME}/local/bin:${HOME}/local/games and in some cases other local/<bigprogramwithlotsoffiles>/bin entries.