Analytics: Difference between revisions

From CoGepedia
Jump to navigation Jump to search
Rchasman (talk | contribs)
Documentation for the CoGe analytics platform.
 
Rchasman (talk | contribs)
Line 15: Line 15:
**libxml2-dev  
**libxml2-dev  
*Maven - For Clojure Dependencies  
*Maven - For Clojure Dependencies  
*Git - To clone the repo in from github  
*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.]


Because this is a clojure project we need
<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)


Steps:

  1. Once you have all the prerequisites installed, you need to get the Greentea (Analytics) repo from Github.
    1. run: `$ git clone https://github.com/LyonsLab/Greentea.git`
  2. 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

  1. We need to point to the missing dependency manually:
    1. run: `$ git clone https://github.com/iPlantCollaborativeOpenSource/iplant-clojure-commons.git`
    2. In lein 2.0 this will create a file at "../iplant-clojure-commons/clojure-commons-1.3.3-SNAPSHOT-standalone.jar"
    3. run: `$ lein uberjar` in the iplant-clojure-commons directory.