Requirements

  1. Java >= 1.8 (Oracle JVMS have been used for testing)
  2. MySQL 5.5 or MySQL 5.6 (Install MySQL 'mysql' as password for root)
  3. Apache ActiveMQ

Building from GIT repository

  • Check out the code from GIT repository
    git clone https://git-wip-us.apache.org/repos/asf/fineract.git  (or)
    git clone https://github.com/apache/fineract.git
  • Change the current working directory to fineract-provider

  • Please execute the following './gradlew build' command

  • Run './gradlew build' to build deployable war file which will be created at fineract-provider/build/libs directory

    Visit Setting up ActiveMQ for Fineract 1.0 for procedure on installing Apache ActiveMQ

Building from source release tar file:

  1. Extract the archive file to your local directory
  2. Download gradle-wrapper.jar version 2.10 and place it in fineract-provider/gradle/wrapper folder
  3. Change current working directory to fineract-provider
  4. Run './gradlew build' to build deployable war file which will be created at fineract-provider/build/libs directory

Instructions to execute Integration tests

  1. Login to mysql DB using 'mysql -u root -pmysql'
  2. Create mifosplatform-tenants database using create database mifosplatform-tenants;
  3. Create default tenant database using create database mifostenant-default;
  4. With fineract-provider as current working directory run below commands 4.a. ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants 4.b. ./gradlew migrateTenantDB -PdbName=mifostenant-default
  5. Run './gradlew clean integrationTest' Note: In windows environment one test case might fail due to mismatching line ending encoding.



  • No labels