Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Oracle/Sun Java-6 is what we recommend for production, so it's the best bet for development, too. Execute the following:

No Format
sudo apt-add-repository ppa:flexiondotorg/java

sudo apt-get update

sudo apt-get install sun-java6-jdk sun-java6-plugin

sudo apt-get install sun-java6-jdk git-core mysql-server

...

  • Mifos currently requires Jetty 7.3.x - download the relevant Jetty tarball from http://archive.eclipse.org/jetty/7.3.1.v20110307/dist/ and unpack it. 
  • In the instructions that follow, we'll assume you unpacked Jetty to $HOME/jetty7. If you've put it somewhere else, adjust accordingly.
  • If using extended characters, be sure server configuration includes URIEncoding="}}UTF-8      {{8" in the Connector definition.

...

  • You can skip the Git install step on the instructions, as this was installed at the start of this tutorial
  • The root of the working copy should be $HOME/mifostrunk which you can do with the following command:
    git clone git://github.com/mifos/head.git mifostrunk

Step 5) Create production tables

After obtaining your personal copy of the source code  and configuring your database you need to create production tables. In order to do that you need to execute following commands.

No Format
mysql -u mifos -pmifos mifos < $HOME/mifostrunk/db/src/main/resources/sql/base-schema.sql
mysql -u mifos -pmifos mifos < $HOME/mifostrunk/db/src/main/resources/sql/base-data.sql
mysql -u mifos -pmifos mifos < $HOME/mifostrunk/db/src/test/resources/sql/acceptance_test_dump.sql
mysql -u mifos -pmifos mifos < $HOME/mifostrunk/db/src/main/resources/sql/init_mifos_password.sql

OR

 

See "Initializing the Mifos Database" in $HOME/mifostrunk/INSTALL, with one exception: the SQL files in your working copy are in /db/src/main/resources/sql/, not /db/sql/.

...

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

...