Skip to content
Victor Korir edited this page Feb 2, 2020 · 24 revisions

Table of Contents

Introduction

This is a quick and easy way to start developing GPPORGS using java, maven, and git on Mac. It uses maven's embedded-tomcat server and mysql database.

What You Need

For mac users, it may be easiest to use brew to install the dependencies.

$ brew install maven
$ brew install node
$ brew install git
...

Initial Set Up

  1. Download and install jdk, maven, git, and node. Set JAVA_HOME variable to point to your jdk, and add maven to your PATH.

Mac OSX:

  (change below as needed and add in ~/.bash_profile)
  export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
  export PATH="/usr/local/maven-3.3.9/bin":$PATH

  (read the new settings)
  $ source ~/.bash_profile
  1. Clone GPPORGS project
 $ git clone https://github.com/vkorir/gpporgs.git
 Cloning into 'gpporgs'...
 remote: Reusing existing pack: ..., done.
 remote: Counting objects: ..., done.
 remote: Compressing objects: 100% (.../...), done.
 remote: Total ... (delta ...), reused ... (delta ...)
 Receiving objects: 100% (.../...), ... MiB | ... MiB/s, done.
 Resolving deltas: 100% (.../...), done.
 Checking connectivity... done

3 Install node dependencies

 $ npm install
  1. Make gpporgs.sh script file executable
 $ cd gpporgs
 WISE $ chmod u+x gpporgs.sh

Install On Server

Clone this wiki locally