-
Install JDK 8u91 (packages and resources) including JRE (virtual machine, sandbox to compile code).
-
Update user or system environment variables
# /etc/environment
# ~/.bashrc
MAVEN_3=/opt/apache-maven-3.3.9
export MAVEN=$MAVEN_3
JAVA_8=/usr/jdk/jdk1.8.0_91
export JAVA_HOME=$JAVA_8
export PATH="$PATH:$JAVA_HOME/bin:$MAVEN/bin"
# $source /etc/environment
- import maven dependencies onto target project
$mvn clean install
# Fork private repository and create branch for yourself
git clone https://github.com/[username]/oca.git
git remote add upstream https://github.com/MallorcaRocks/oca.git
git checkout -b [oca-username]
# --> IMPORTANT : Commit on your branch (own test Chapters) <--
git checkout [oca-username] && git add --ignore-removal --all && git commit -m "new example"
# Commit on master (general purpose)
git checkout master && git add --ignore-removal --all && git commit -m "new example"
# sync collaborator knowledge
git pull --all
# check collaborator knowledge
git branch -a
git checkout [oca-username]
# Push changes
git push origin [oca-username]
# create pull request to upstream [oca-username] branch
# auto merge
# send mail to collaborators, PR url