[Trellis-developers] single docroot branch

Shaddy Zeineddine shaddy at learning.net
Tue Oct 23 04:44:53 PDT 2007


it's not done, but i got it working nicely in trellis-dev.learning.net/demo
right now it doesn't use the db to determine the client id, so that 
still needs to be done.
the system logging is working and its pretty sweet, heres an example:

Oct 23 04:27:39 [trellis/core] DEF: 1002: The specified file could not 
be found.; /var/web/demo/core/global/misc/mod_gopher.php @ line 122; 
/demo/assets/css/default.css

aicc would show up as trellis/aicc and so on.

i really like this setup, it's super easy to set up. it only required 
configuring the local config file. with this single document root, we 
can easily use web installation. since i dont think we want to maintain 
multiple installation methods, we can just use the web version.

when the person accesses trellis from the web for the first time, it can 
run the installation process and let the user configure a uri for the 
global administration interface (upgrade/client management/etc)

with that, i think anyone should be able to install trellis very easily.

this will also require modification of the distribution package. since 
the person will probably unpack trellis in their web directory, the 
database schema should go in the classes dir, and the extra files like 
the readme, todo, and install files, as well as the build, docs, 
scripts, and test directories should be removed. the manual and test 
scripts can be linked from the admin interface.


More information about the Trellis-developers mailing list