Even - I will take a look at MediaWiki's and WordPress's installation script tomorrow. I will code up a basic installer script with your suggestions. I was thinking that an installer that could write the configuration to a user desktop to be uploaded to the server might be a good idea for people who want to host a Laconica instance on a low budget hosting service. I have found that many of the low budget services do not allow files to be edited from PHP scripts. In future releases of Laconica will the dependencies be included ?
Matt - I think like your idea and I will take you up on your help. Let me work on it tomorrow to see what I can come up with first. Robert > On Wed, Oct 1, 2008 at 6:10 PM, Evan Prodromou <[EMAIL PROTECTED]> wrote: > On Wed, 2008-10-01 at 17:58 -0400, Robert Johnson wrote: > > 1. There was an GUI installer that could run on Linux / Mac / Windows > desktop that would help the user configure the software. > > > > 2. There was a command line server installer that would install the > software. > > > > 3. If in the future there was a online Web based build system that could > be used to configure a custom application > > > > Am I on the right track ? > > > That last one seems the most reasonable. I'd recommend checking out > MediaWiki's installation script, and WordPress's. > > We could have an install.php in the main dir which checks to see if > config.php exists yet. If it does, install.php just re-directs to the public > timeline. If it doesn't, it shows a very simple form that asks for: > > - database type (mysql or postgresql) > - database host (default to localhost) > - database name (default to "laconica") > - database user > - database password > - site name > > It would then set up the config.php with the basic configuration vars, and > initializes the database. > > It should probably also check for pre-requisites and give links to ones > that aren't installed on the server already. > > How does that sound? > > -Evan > That sounds like a good start. Maybe also offer the option to configure the XMPP section. Sort of an "advanced" setup option? I'd be willing to help out on this Robert if your interested. -Matt
_______________________________________________ Laconica-dev mailing list [email protected] http://mail.laconi.ca/mailman/listinfo/laconica-dev
