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 idea
to 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 run
to start the app.
There are bunch of gradle tasks that you can see by running gradle tasks
build
is to build the app.setupdb
is to recreate the database and schema.seed
is to seed in the reference data.testseed
puts in some test data which can be used to browse through basic functionality in the system.run
is 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