Hi, I have now uploaded new betapackages of MidCOM 2.8.

Due to some firewall problems I will not release a changelog today. The
changes from beta1 are not too big. The important part is that everyone
takes out their testgloves and give 2.8 a spin.

To do this you can use PEARs way of running multiple PEAR installs
[1][2]. This, you do not have to set up an extra server to run beta and
2.6 at the same time.

## How to do this:

mkdir /home/tarjei/midcom-28
pear config-create /home/tarjei/midcom-28 pearrc.midcom-28
# NB! Important for the commands below.
alias pear='pear -c pearrc.midcom-28'

pear -c pearrc.midcom-28 install PEAR
pear config-set web_dir /home/tarjei/midcom-28/midcom-static
pear config-set midgardsql_dir /home/tarjei/midcom-28/midgard_sql
pear config-set midgard_config_file midcom28
pear config-set mgdschema_dir /home/tarjei/midcom-28/midgard_schema
# important for installing 2.8
pear config-set preferred_state beta

# this is from [3]:
pear channel-discover pearified.com
pear channel-discover pear.midcom-project.org

pear install pearified/Role_Web
pear install midcom/Role_Mgdschema
pear install midcom/Role_Midgardelement
pear install midcom/Role_Midgardsql
# reset these variables to be sure they are correct
pear config-set web_dir /home/tarjei/midcom-28/midcom-static
pear config-set midgardsql_dir /home/tarjei/midcom-28/midgard_sql
pear config-set midgard_config_file midcom28
pear config-set mgdschema_dir /home/tarjei/midcom-28/midgard_schema

pear install midcom/midcom
pear install midcom/net_nehmler_blog midcom/midgard_admin_sitewizard

Now, set up a new virtualhost using datagard and add the following in
the virtual-host config:
php_value include_path ".:/home/tarjei/midcom-28/pear/php"

Then use sitewizard to create a new host record for this virtualhost.
Note that you got two options here:
a) Set up a new test database
b) Create a host within your existing database.

Use b if you want to test upgrading to 2.8. If you try that, please read
[4].



### Links:
1. http://www.go-pear.org/manual/es/installation.shared.php
2.
http://norbert.mocsnik.hu/blog/archives/180-Updating-PEAR-Packages-Within-Your-Applications.html
3. http://www.midgard-project.org/documentation/installing-midcom-with-pear/
4.
http://www.midgard-project.org/documentation/upgrading_midcom_from_2-6_to_2-8

_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to