Gentoo Archives: gentoo-dev

From: Andrew Cowie <andrew@×××××××××××××××××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Web Application installations
Date: Wed, 23 Jul 2003 06:17:46
Message-Id: 1058941059.4292.60.camel@localhost
In Reply to: Re: [gentoo-dev] Web Application installations by Max Kalika
1 On Wed, 2003-07-23 at 15:17, Max Kalika wrote:
2 > I've ported over most of
3 > the Horde apps to use this eclass in my local tree as an exercise and let
4 > me tell you, installing (and upgrading) Horde is actually pleasant now.
6 Oh, yeah, I can see that. The app I have in mind is dotProject (also a
7 PHP web app)
9 Web Application installations ARE a bit more complex than just `make
10 install` the program:
12 a) installing PHP app (ok, this is relatively straight forward - you
13 just unpack tarball somewhere and ta-da, but one *does* need to know
14 where to put it)
16 b) ensure you've got all the dependencies. (Yuk).
18 c) configure application [not so optional, but in Gentoo you are
19 expected to do this on your own; also applies to:]
21 d) install DB tables [optional, depends on which DB you're running, etc,
22 etc... could guess from USE flags, but who wants an app just madly
23 crashing around creating tables, especially when config may not be in
24 place and when, if an upgrade, tables all ready exist]
26 "Where to put it" does have slightly broader implications. Under the
27 machine's default DocumentRoot seems a good idea, but there are many
28 instances where one wants to make a separate virtual host for the
29 installation, or, or....
31 Is there a way that that can be automated too? I suspect not, without
32 going to something like linux-control-center or debconf or some similar
33 craziness]
35 Certainly as a first approximation, "sub directory of machine default
36 DocRoot" seems a not bad place to start, but I'm curious what others
37 think we should practice as I can think of numerous objections to this.
39 AfC
41 --
42 Andrew Frederick Cowie
43 Operational Dynamics Consulting Pty Ltd
45 Australia +61 2 9977 6866 North America +1 646 270 5376
49 --
50 gentoo-dev@g.o mailing list


Subject Author
Re: [gentoo-dev] Web Application installations "Robin H.Johnson" <robbat2@g.o>