-
Notifications
You must be signed in to change notification settings - Fork 0
Building
hawkan edited this page Jan 30, 2014
·
11 revisions
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.
Download and install Leiningen 2.
Clone the Notes! repository:
> git clone git@github.com:citerus/notes.git
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.
Download and install Maven.
Clone the Notes! repository:
> git clone https://github.com/citerus/notes-java.git
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.