Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Overall Directory Organization

by bibliophile (Parson)
on Nov 10, 2009 at 15:24 UTC ( #806237=note: print w/replies, xml ) Need Help??

in reply to Overall Directory Organization

Here's what I use:
  • ~/prj/myproject/trunk
    • bin - cgi-bin stuff
    • conf - config files
    • devdocs - just like it sounds
    • externals - catch-all for support programs
    • logs
    • modules - module hierarchy
    • templates - mostly mimics modules hierarchy
    • updates - sequentially numbered SQL files to update database structure to "current version"
    • - single command to move everything necessary into "live" /opt/myproject, unlink/relink conf files, reload apache, etc
All under version control (svn), and Trac.

This layout (copped mainly from some CGI-App docs) works well enough for me, but then my current projects aren't particularly large; YMMV

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://806237]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2018-02-25 04:25 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (312 votes). Check out past polls.