-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Victor Korir edited this page Feb 1, 2020
·
24 revisions
== Global Poverty and Practice Organizations ==
This page is mainly for developers.
== Develop GPPORGS locally ==
- A Mac or Windows PC running Windows 10 with admin permission
- JDK 8
- Maven 3.6+
- Git 2.20+
- Node v11.9+
For mac users, it may be easiest to use brew to install the dependencies.
$ brew install maven
$ brew install node
$ brew install git
...
- 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
Windows:
Enable Developer Mode http://www.windowscentral.com/how-install-bash-shell-command-line-windows-10
When installing Git, make sure that you also install the Git Bash tool
Add new JAVA_HOME variable and point to your jdk:
Add path_to_maven_install\bin to your path:
Verify that you have the correct settings:
- Clone GPPORGS project
$ git clone https://github.com/vkorir/gpporgs.git
Cloning into 'gpporgs'...
remote: Reusing existing pack: 12456, done.
remote: Counting objects: 165, done.
remote: Compressing objects: 100% (112/112), done.
remote: Total 12621 (delta 64), reused 151 (delta 50)
Receiving objects: 100% (12621/12621), 158.19 MiB | 2.56 MiB/s, done.
Resolving deltas: 100% (4890/4890), done.
Checking connectivity... done
3 Install node dependencies
$ npm install
- Make gpporgs.sh script file executable
$ cd gpporgs
WISE $ chmod u+x gpporgs.sh
== Install GPPORGS on a server ==