-
Notifications
You must be signed in to change notification settings - Fork 750
Quickstart Guide
- Download Git - http://git-scm.com/downloads
- Fork the project on Github and clone it to your system using Git Bash -
git clone https://github.com/yourgithubusername/mifosx
Note:- Make sure you have the following environment variables setup before you execute the below steps :-
JAVA_HOME e.g. C:\dev\java\jdk7_u45
JAVA_OPTS e.g. -Xms512m -Xmx512m -XX:MaxPermSize=512m
Use ./gradlew in Linux to execute script from current directory.
For users/non-developers : -
- Change directory to mifosx/mifosng-provider using command prompt/shell and execute
Windows -
gradlew -Penv=dev clean war
/ Linux -./gradlew -Penv=dev clean war
. - Change directory to mifosx/mifosng-provider/build/libs and execute
java -jar mifosng-provider.war
(This launches the war with an embedded database so separate installation of MySQL is not required).
If all has gone well, the platform should be available at: https://localhost:8443/mifosng-provider/api/v1/offices?tenantIdentifier=default
To setup the front-end application, see Setting up Community UI Application Locally.
For developers : -
-
Eclipse users - execute
gradlew -Penv=dev cleanEclipse eclipse
and import it into Eclipse (File -> Import -> General -> Existing projects into workspace) OR IntelliJ IDEA users - executegradlew idea
and import it into IDEA (File -> Import Project -> mifosng-provider.ipr). Note that the -Penv=dev downloads and enables the embedded database MariaDB4j dev support. -
Run
ServerWithMariaDB4jApplication
to launch Mifos X with an embedded database (Separate installation of MySQL is not required) OR install and setup MySQL(https://github.com/openMF/mifosx/wiki/MySQL-Database-Setup) and runServerApplication
.
If all has gone well, the platform should be available at: https://localhost:8443/mifosng-provider/api/v1/offices?tenantIdentifier=default
To setup the front-end application, see Setting up Community UI Application Locally.