This guide is all about building OSCAR from source to produce a WAR you can then deploy on a Manually installed system
Prerequisites
You'll need more skills than the DEB installation. Make sure you're well versed with
Linux shell
GIT
Java installed and JAVA_HOME pointing to it
Getting the source code
The first thing we'll need is the source code. All of OSCAR EMR's open source code is hosted in a git repository. This repository is currently available through SourceForge.
sudo apt-get install git #if you don't have git installed, run this
git clone https://git.code.sf.net/p/oscarmcmaster/oscar
Install Maven
Maven is the build tool used to compile and package the OSCAR web application.
Download the binary distribution (.tar.gz) from here