Developer installation

If you are new to Infoglue and wants to develop the platform itself or get a good development environment for component development we recommend that you get one of the ready-made bundles. This gets you a complete development environment including tomcat with Infoglue, a database, eclipse ig-plugin and some other software you need to be effective. This get's you going in just a few minutes. Choose among the bundles below:

Infoglue 3 RC1 Bundle for Windows (64bit)

Infoglue 3 RC1 Bundle for Linux (32bit)

Manual install

Prerequisites

If you allready have all software installed and just wants to install the Infoglue webapps and option is to take your material directly from git.

First we create a Build-folder:

#(can be anywhere – this is just an example)
cd /root
mkdir BuildProject
cd BuildProject

Next we fetch the code from git.

# Clone Infoglue:
git clone git://github.com/bogeblad/infoglue.git

# if you want a certain tag you do (optional - if not you get the latest changes)
git checkout infoglue3.0.0final
 

Create redeployAll.sh in BuildProject containing:

#!/bin/bash
/etc/init.d/tomcat stop
cd infoglue
ant deploy

Chmod it:

chmod 755 redeployAll.sh

Now create and edit infoglue/build.properties
Set all paths and database settings so it suits your needs.

rm infoglue/build.properties
vi infoglue/build.properties

Fill the file with these properties and exchange the paths with the ones proper for your system:

project.version=3.0
# deployment directories for each version of the InfoGlue webapp
deploy.dir.shared=/usr/share/tomcat6/

#Only needed if you want the cms and working apps installed on this server
deploy.dir.cms=/var/lib/tomcat6/webapps/infoglueCMS
deploy.dir.working=/var/lib/tomcat6/webapps/infoglueDeliverWorking

#Only needed if you want the live app installed on this server
deploy.dir.live=/var/lib/tomcat6/webapps/infoglueDeliverLive

externalWebServerAddress=
#webServerAddress=http://localhost:8080
#liveWebServerAddress=http://localhost:8080
context.root.cms=infoglueCMS
context.root.working=infoglueDeliverWorking
#context.root.preview=infoglueDeliverPreview
context.root.live=infoglueDeliverLive

operatingMode.cms=0
operatingMode.working=0
operatingMode.preview=2
operatingMode.live=3

database.driver.class=com.mysql.jdbc.Driver
database.driver.engine=mysql
database.url=jdbc:mysql://localhost:3306/infoglue?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8
database.user=mysqluser
database.password=mysqlpassword
database.use.unicode=true
database.encoding=UTF-8
database.maxConnections=300
database.mapping=mapping.xml

hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect
hibernate.show_sql=false

administratorUserName=root
administratorPassword=mypassword
administratorEmail=joe@somecompany.com

loginUrl=Login.action
invalidLoginUrl=Login!invalidLogin.action
authenticatorClass=org.infoglue.cms.security.InfoGlueBasicAuthenticationModule
authorizerClass=org.infoglue.cms.security.InfoGlueBasicAuthorizationModule

configured=true

When save run redeployAll.sh i /root/BuildProject

./redeployAll.sh

On some systems you have to make sure the tomcat user has full access to the deployed webapp. Easiest way is by doing:

chown root:tomcat /var/lib/tomcat6/webapps/infoglue* -R
chmod 775
/var/lib/tomcat6/webapps/infoglue* -R

After the install you just start your tomcat and follow any instructions given if you have to set up a database.