Copyright © 2013 VillageReach. All Rights Reserved. All of the Source Code Form in this repository is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, you can obtain one at http://mozilla.org/MPL/2.0/.
-
JDK 7
-
Gradle 1.6
Download the source binary directly from the gradle website. Copy the downloaded folder to /usr/bin. Add the path to gradle bin folder to your /etc/profile file export PATH="$PATH:/usr/bin/gradle-1.6/bin"
- Install HomeBrew
- Run
brew install gradle
-
Git
-
Postgresql 9
- Run
gradle ideato create the intellij project files - Open the open-lmis.ipr file
-
Clone the project repository using git.
-
Setup postgres user with password as configured in gradle.properties file.
-
You can use
gradle clean setupdb seed build testseed runto start the app.
There are bunch of gradle tasks that you can see by running gradle tasks
buildis to build the app.setupdbis to recreate the database and schema.seedis to seed in the reference data.testseedputs in some test data which can be used to browse through basic functionality in the system.runis to start the embedded jetty server.
Once run, you can access the home page at http://localhost:9091/
- Java 1.7
- Gradle
- Postgres
- Spring
- Mybatis
- Angularjs
- Jasmine