midgard.admin.sitewizard
midgard.admin.sitewizard is the site creation and configuration tool in MidCOM.
Installation
Midgard Site Wizard may be installed from PEAR packages. To get it running, generate a website for it using the following command:
# php /usr/share/php/midcom/lib/midgard/admin/sitegroup/bin/create-host.php -c databasename -u admin -p password --sitegroup_id 0 --topic_midcom midgard.admin.sitewizard --hostname www.example.net --host_prefix /sitewizard --extend_style template_Midgard --topic_name "Midgard Site Wizard"
After this Midgard Site Wizard should be available in http://www.example.net/sitewizard/.
Usage
Midgard Site Wizard can be found by accessing the Midgard Welcome Site which is typically installed to the /midgard subdirectory of a Midgard server. Click the login link in the right-hand bar to enter the Wizard:
After authenticating as Midgard Administrator, the first screen of the Wizard will appear. Here it will be possible to either create a new sitegroup virtual database, or set up a new site to an existing one.
You can also define an administrative user account and a disk quota for the sitegroup.
Once the organization has been created or selected, the next screen is for creating a website. Here it is possible to input hostname, port and possible directory prefix for the new site.
For the newly-created host to be served it must also be added to Apache VirtualHost configuration. Once this has been done, the next step is to select a style template for the site:
After style has been selected, the site should be ready for content management.
