Analytics: Difference between revisions
Jump to navigation
Jump to search
Documentation for the CoGe analytics platform. |
|||
Line 15: | Line 15: | ||
**libxml2-dev | **libxml2-dev | ||
*Maven - For Clojure Dependencies | *Maven - For Clojure Dependencies | ||
*Git - | *Git - For cloning repos in from github | ||
*Leingingen - [https://github.com/technomancy/leiningen Leiningen - Automate Clojure projects without setting your hair on fire.] | *Leingingen - [https://github.com/technomancy/leiningen Leiningen - Automate Clojure projects without setting your hair on fire.] | ||
<br> | |||
=== Steps: === | |||
#Once you have all the prerequisites installed, you need to get the Greentea (Analytics) repo from Github. | |||
##run: `$ git clone https://github.com/LyonsLab/Greentea.git` | |||
#inside this new directory run: `$ lein run` it should pull in all the required dependencies* and start a Jetty servlet running on port 3456. | |||
'''*In the case of a common dependency issue with iplant-clojure-commons''' | |||
# We need to point to the missing dependency manually: | |||
##run: `$ git clone https://github.com/iPlantCollaborativeOpenSource/iplant-clojure-commons.git` | |||
##In lein 2.0 this will create a file at "../iplant-clojure-commons/clojure-commons-1.3.3-SNAPSHOT-standalone.jar" | |||
##run: `$ lein uberjar` in the iplant-clojure-commons directory. |
Revision as of 17:30, 12 February 2013
CoGe - Analytics
CoGe Analytics is a metrics and analytics engine for the CoGe platform written on Clojure's web framework Noir.
How To: Deploy on a Server via Apache Webserver
Prerequisites:
(You can install these CLI tools using your linux distributions preferred package manager)
- Apache2 - with plugins
- libapache2-mod-proxy-html - For proxying the running port to the correct endpoints.
- libxml2-dev
- Maven - For Clojure Dependencies
- Git - For cloning repos in from github
- Leingingen - Leiningen - Automate Clojure projects without setting your hair on fire.
Steps:
- Once you have all the prerequisites installed, you need to get the Greentea (Analytics) repo from Github.
- run: `$ git clone https://github.com/LyonsLab/Greentea.git`
- inside this new directory run: `$ lein run` it should pull in all the required dependencies* and start a Jetty servlet running on port 3456.
*In the case of a common dependency issue with iplant-clojure-commons
- We need to point to the missing dependency manually:
- run: `$ git clone https://github.com/iPlantCollaborativeOpenSource/iplant-clojure-commons.git`
- In lein 2.0 this will create a file at "../iplant-clojure-commons/clojure-commons-1.3.3-SNAPSHOT-standalone.jar"
- run: `$ lein uberjar` in the iplant-clojure-commons directory.