midgard_quick_setup
Posted on 2007-08-31 14:19:10 EEST.
The simplest and easiest midgard installation tool. The main idea is to act with default, sensible values and ask only mandatory questions.
To test it you must prepare for tricky builds.
Build midgard-core and midgard-php5 from 1-9 branch. Get all midgard_setup files from trunk.
The quickest setup is available in dg_quick.php script. Almost final script is available in midgard_datagard.php
"Almost final" means that this script must be wrapped by some shell script like datagard to allow transparently exit php script and start it again with quite different settings. Simple we can not load Mgdchema classes when php is running so we must quit itself and start itself again. Of course without asking the user :)
To make first initial midgard setup just do this:
php midgard_datagard.php