Skip to content

Building

hawkan edited this page Jan 30, 2014 · 11 revisions

Building Notes!

Notes comes in two flavours; Clojure and Java. Both of them requires Java SE Development Kit 7 (or later) and Git to build and deploy.

Clojure

Prerequisites (Leiningen)

Download and install Leiningen 2.

Clone the Notes! Repository

Clone the Notes! repository:

> git clone git@github.com:citerus/notes.git

Build!

Go to where you cloned the Notes application from GitHub

To build the application and package it as a standard Java War file; in the same directory as the project.clj file, issue:

> lein ring uberwar

You'll find the deployment unit in the target directory with a long strange name, and a .warextension. Rename it to ROOT.war.

Boom! And you're done.

Java

Prerequisites (Maven)

Download and install Maven.

Clone the Notes! Repository

Clone the Notes! repository:

> git clone https://github.com/citerus/notes-java.git

Build!

Go to where you cloned the Notes application from GitHub

> mvn clean install

You'll find the deployment unit notes.war in the target directory. Rename it to ROOT.war.

And you're done.

Clone this wiki locally