FINERACT-371 - Make gradle callable from the top level directory.

This commit is contained in:
Nazeer Hussain Shaik
2017-02-16 19:38:08 +05:30
parent b6f4230777
commit 1dabd44b45
6 changed files with 143 additions and 122 deletions
+3 -5
View File
@@ -13,16 +13,14 @@ Instructions to run Apache RAT (Release Audit Tool)
============
1. Extract the archive file to your local directory.
2. Download gradle-wrapper.jar version 2.10 and place it in the fineract-provider/gradle/wrapper folder.
3. Change the current working directory to fineract-provider
4. Run `./gradlew rat`. Report will be generated under fineract-provider/build/reports/rat/rat-report.txt
3. Run `./gradlew rat`. Report will be generated under build/reports/rat/rat-report.txt
Instructions to build war file
============
1. Extract the archive file to your local directory.
2. Download gradle-wrapper.jar version 2.10 and place it in the fineract-provider/gradle/wrapper folder.
3. Change the current working directory to fineract-provider.
4. Run `./gradlew clean war` or `./gradlew build` to build deployable war file which will be created at fineract-provider/build/libs directory.
3. Run `./gradlew clean war` or `./gradlew build` to build deployable war file which will be created at build/libs directory.
Instructions to execute Integration tests
@@ -30,7 +28,7 @@ Instructions to execute Integration tests
1. Login to mysql DB using `mysql -u root -pmysql`
2. Create the mifosplatform-tenants database using `CREATE DATABASE mifosplatform-tenants`.
3. Create the default tenant database using `CREATE DATABASE mifostenant-default`.
4. With fineract-provider as current working directory run the following commands:
4. Run the following commands:
1. `./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants`
2. `./gradlew migrateTenantDB -PdbName=mifostenant-default`
5. Run `./gradlew clean integrationTest`