Skip to content
johnw65 edited this page Jul 30, 2012 · 3 revisions

see https://github.com/keithwoodlock/mifosx/wiki for "Github & Git" (getting and using Git) related information so that you get this project on your machine

Running the Individual Lending Javascript App

Running the remote Demo App

You can run the app on the demo server by: https://ec2-46-137-62-163.eu-west-1.compute.amazonaws.com:8443/IndividualLendingGeneralJavaScript/IndivLendHome.html?tenantIdentifier=default

The first time you do this your browser will complain. Just follow its link for proceeding. It will ask you for the username password mifos/password once or twice).

Running the App On Your Machine

Go to directory IndividualLendingGeneralJavaScript.
Open IndivLendHome.html in your browser.
Add "?tenantIdentifier=default" to your URL. Put in Username: mifos Password: password This logs you on to the default tenant on the demo server.

If you are running mifosx locally add "&baseApiUrl=https://localhost:8443/mifosng-provider/api/v1/" to point to your local application running through "gradle clean tomcatRunwar"

Running locally against on the demo Mifos X server and even more so when you run on your local Mifos X server... you have to 'ping' the server before using the javascript app because the Mifos X server uses a self-signed certificate (Mifos X is configured to use SSL) The ping will get your browser to complain...... follow its instructions to proceed (adding username/password where requested) and then you can use the app.

To ping the demo server use: https://ec2-46-137-62-163.eu-west-1.compute.amazonaws.com:8443/mifosng-provider/api/v1/clients/1?tenantIdentifier=default&pretty=true

To ping the local server use: https://localhost:8443/mifosng-provider/api/v1/clients/1?tenantIdentifier=default&pretty=true