Difference between revisions of "Directory Structure"

From Dreamwidth Notes
Jump to: navigation, search
m (t)
(cgi-bin)
Line 7: Line 7:
 
== [[Main development folder/cgi-bin|cgi-bin]] ==
 
== [[Main development folder/cgi-bin|cgi-bin]] ==
  
Contains the code that runs the site.
+
Contains the code that runs the site.  This is the base of the library path--that is <code>use Net::OpenID::Consumer;</code> refers to the code in <code>cgi-bin/Net/OpenID/Consumer.pm</code>.
  
 
== [[Main development folder/cvs|cvs]] ==
 
== [[Main development folder/cvs|cvs]] ==

Revision as of 05:17, 13 September 2008

This documents the development folder checked out by bootstrap.pl.

bin

This looks to contain administrative code, run for maintenance and other tasks.

cgi-bin

Contains the code that runs the site. This is the base of the library path--that is use Net::OpenID::Consumer; refers to the code in cgi-bin/Net/OpenID/Consumer.pm.

cvs

Looks to contain code for packages used. Also contains folders for dw-free and dw-nonfree. dw-free looks to pretty much contain the a copy of much of the entire main directory.

doc

Most notable thing in here is the docbook code for the server and LJ programming guides.

etc

Empty in a clean checkup. Your site's ljconfig.pl will go here, to make sure the original ljconfig.pl can be updated without ill effects on a running installation.

htdocs

Contains the BML templates for pages and organization of the site, as well as js files.

logs

Looks to be an empty folder to store logs during running the code.

src

Confusingly enough, contains source for some of the packages the code uses. Perhaps this is the folder that comes with the distribution and cvs is checked out from the other repositories? Does not contain all of the ones in cvs though.

ssldocs

This contains pages that are transmitted over SSL instead of being unencrypted. Regular files in htdocs.

t

Looks like this contains the tests that use the testing framework in main/test. See Dev Testing for how to use them.

temp

Empty in a clean install. Probably used for temporary file storage.

test

Very sparse directory; really not much here.

var

A clean install of this only includes devdata/evillaugh.wav. Purpose unknown.