Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
sudo apt-get install sun-java6-jdk subversion mysql-server

Notes:

  • running this command more than once has no effect
  • sun-java6-jdk
  • You can make sun-java6-jdk the default for your applications by executing

...

If using extended characters, be sure server configuration includes URIEncoding="UTF-88  " in the Connector definition.

...

Create a Local Properties File.

...

Database connections

Database connections must can be configured by customizing the following settings in your Local Properties File:

No Format
main.database=mifos
main.database.user=mifos
main.database.password=mifos
integration.database=mifostest
integration.database.user=mifos
integration.database.password=mifos
acceptance.database=mifostest
acceptance.database.user=mifos
acceptance.database.password=mifos

If you have used the default database (mifos & mifostest), user (mifos) and password (mifos) in the step above, then you do not need need to set-up a custom Local Properties File.

Build Mifos and run integration, unit and acceptance tests

...

No Format
cd $HOME/mifostrunk
mvn clean install

Deploy

Execute the following:

No Format
cd $HOME/mifostrunk/mifos
cp target/mifos_webapp.war $HOME/tomcat6/webapps/mifos.war

Start Mifos

Set up environment variables for Tomcat:

No Format
cat >> ~/.bashrc
export CATALINA_HOME=$HOME/tomcat6
export JAVA_HOME=/usr/lib/jvm/java-6-sun

Hit CTRL-D to stop writing to .bashrc, then logout/login or source your ~/.bashrc file as follows:

No Format
source ~/.bashrc

If this is a production system, be sure to thoroughly read Configuring Mifos. Some configuration must be performed before starting your Mifos instance for the first time.

...

No Format
cd /tmp
$HOME/tomcat6/bin/startup.sh

Visit http://localhost:8080/mifos/ in a browser to use Mifos. (username: "mifos", password: "testmifos").

...