THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Requirements
- Java >= 1.8 (Oracle JVMS have been used for testing)
- MySQL 5.5 or MySQL 5.6 (Install MySQL 'mysql' as password for root)
- 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:
- Extract the archive file to your local directory
- Download gradle-wrapper.jar version 2.10 and place it in fineract-provider/gradle/wrapper folder
- Change current working directory to fineract-provider
- Run './gradlew build' to build deployable war file which will be created at fineract-provider/build/libs directory
Instructions to execute Integration tests
- Login to mysql DB using 'mysql -u root -pmysql'
- Create mifosplatform-tenants database using create database
mifosplatform-tenants
; - Create default tenant database using create database
mifostenant-default
; - With fineract-provider as current working directory run below commands 4.a. ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants 4.b. ./gradlew migrateTenantDB -PdbName=mifostenant-default
- Run './gradlew clean integrationTest' Note: In windows environment one test case might fail due to mismatching line ending encoding.