Please first check if your MySQL 'root' user has the default 'mysql' password:
$ mysql -u root -pmysql mysql> |
For quick development, unless it's already the case, it is recommended that you change your MySQL 'root' user password to 'mysql'. For doing that you need to fire the following command:
$ mysqladmin -u root -p 'oldpassword' password newpassword |
Or, if you don't have any password already for Root login as Root then follow the instructions:
update mysql.user SET password=PASSWORD('newpassword') WHERE user ='root'; flush privileges; |
Mifos X has support for hosting multiple tenants so we use two database schemas:
Once you have downloaded and build the Mifos X Financial Engine following these:- Build Instructions, you need to create the database 'mifosplatform-tenants':
create database `mifosplatform-tenants`; |
Then open a console and go to [your project root]/incubator-fineract/fineract-provider and execute the following command:
$ ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants |
This will populate all needed tables and some default data.
The last thing to do is creating the default tenant so you can test-drive the software:
create database `mifostenant-default`; |
When the Mifos X Financial Service Engine starts, all tables will be created or updated so you don't need to take any further action.
If you use Windows or Mac OS download and install npm from https://nodejs.org/download/. If you use a Linux distribution with a package manager see https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager for details on your OS.
To download the dependencies, and be able to build, first install bower and grunt:
npm install -g bower npm install -g grunt-cli |