Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Build everything

Chris Beams edited this page Mar 20, 2014 · 14 revisions

Goal

Compile, run tests, and assemble the executable JAR files for the Sagan indexer and site applications.

Prerequisites

  1. Get the source
  2. Install Node.js
  3. Install JDK 7

Steps

Build

From within the root directory of your repository, the following command will build both the Sagan site and indexer applications, running all unit and integration tests along the way:

Tip: New to Gradle? Be sure to read the Gradle tips page!

./gradlew build

Or, on Windows:

gradlew.bat build

When the build is finished, you should see the following:

BUILD SUCCESSFUL

Next steps

You're now ready to import into IDEA or Eclipse or you can run the site locally straight away.