the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: mifos
Version: 1.4.2
Revision: 1
Source: http://nchc.dl.sourceforge.net/project/%n/%n/%v/%n_v%v-release.zip
Source-MD5: 5c2bcd0cf46e22832f97cf7ed4a6380b
SourceDirectory: %n_v1.4.0
#following tar file contains the mifosdbsetup.sh file which populates the mifos database
Source2: mirror:sourceforge:portmifostomac/mifosdbsetup.tar.gz
Source2-MD5: 8506391607c1ddd1dc6c02212cf4e49b
Source2ExtractDir:%n_v1.4.0/
Maintainer: Ather Qadri
HomePage: http://www.mifos.org/
License: GPL
Description: The application for micro finance industries
Type: java(1.6)
Distribution: 10.6
Depends: <<
tomcat6,tomcat6-webapps,mysql-unified,system-java16
<<
BuildDepends: system-java16-dev
CompileScript: <<
<<
InstallScript: <<
#!/bin/sh -ev
echo "Running installation script"
mkdir -p %i/var/tomcat6/webapps
mkdir -p %i/share/%n/sql
mkdir -p %i/bin
cp -r -f %b/sql/* %i/share/%n/sql/.
cp -f %b/mifos.war %i/var/tomcat6/webapps/.
cp -f %b/mifosdbsetup/* %i/bin/.
<<
DocFiles: LICENSE INSTALL
DescDetail: <<
Mifos is a open source software for micro finance industries.
<<
DescPackaging: <<
Installation script will copies the mifos.war file to tomcat6/webapps folder.
It copies the sql scripts to /sw/share/mifos/sql/ folder.
And copies mifosdbsetup.sh to /sw/bin/ folder.
mifosdbsetup.sh script will populates the mifos database tables.
<<
DescUsage: <<
Steps for running Mifos:
1. Start the mysql server.
On terminal type "fink info mysql" for instructions to start.
2. Populate database using following commands on terminal.
sh /sw/bin/mifosdbsetup.sh
3. Start tomcat server.
On terminal type "fink info tomcat6" for instructions to start.
(or)
On terminal type "/sw/var/tomcat6/bin/catalina.sh run"
4. Open any web browser, and type url "http://localhost:8080/mifos"
5. Use following username and password
Username : mifos
Password : testmifos
<<