Access the online demo version here
-
Note: Ensure you have
npm
installed - goto http://nodejs.org/download/ to downloand installer for your OS. -
Clone this repository to your local filesystem (default branch in 'master')
-
To download the dependencies, and be able to build, first install bower & grunt:
npm install -g bower
npm install -g grunt-cli
- Next pull the runtime and build time dependencies by running bower and npm install commands on the project root folder:
bower install
npm install
-
Check the backend server HOST settings in the community-app\app\scripts\modules\configuration.js file. If you are connecting to a non local host, then you may need to change the API_URL_OVERRIDE value to false.
-
Now open the 'index.html' file in FIREFOX browser.
-
Default username/password: mifos/password. This application will hit the demo server by default.
You are done.
By default, when the app is running in the local filesystem or on http://localhost, it will connect to demo.openmf.org. The UI will connect to the mifosng-provider REST API running on the same host/port when running in the cloud.
If you want to connect to the API running elsewhere, then append the baseApiUrl as a query parameter, e.g. http://localhost:9090/app/index.html?baseApiUrl=https://localhost:8443/#/.
You can also add more dependencies on bower.json. You can search for them in http://sindresorhus.com/bower-components/ or even:
bower search <package>
Grunt tasks are used to automate repetitive tasks like minification, compilation, unit testing, linting, production builds, etc
Following are the tasks integrated.
Compile the JS files to detect errors and potential problems in JavaScript code. All errors output will be written to jshint-log.xml file which get created under project base directory.
grunt compile
Build the code for production deployment.
grunt prod
Just open test/SpecRunner.html in the browser.
Please read the contribution guidelines