Skip to content

Building Gaps

Jason House edited this page Sep 29, 2020 · 1 revision

To build Gaps locally you will need

  • JDK 11 +
  • NPM 12.x
  • Maven
  • Docker
  • Optional Git
  1. Clone or download gaps to your local environment
  2. Open a terminal window and navigate to the gaps folder
  3. Run npm ci. This will set up NPM and install the necessary packages for gaps.
  4. Run ./minify. This will create minified versions of the CSS and JS files.
  5. Run mvn clean install. This will build the Java code and compile the resource files into the jar.
  6. Run docker build -f Dockerfile.debug -t gaps_dev .
  7. Run docker run -p 8484:8484 --name gaps_dev gaps_dev
  8. Open a browser window and navigate to http://localhost:8484