Skip to content

Download the Clojure collector WAR file or compile it from source

Alexander Dean edited this page May 8, 2013 · 6 revisions

HOME > SNOWPLOW SETUP GUIDE > Step 1: setup a Collector > Clojure collector setup > Download the Clojure collector WAR file or compile it from source

Elastic Beanstalk does not allow you to specify an S3 URL for your WAR file, so you will have to manually upload a local copy.

To get a local copy, you can download the WAR file directly from our hosted assets bucket on Amazon S3 - please see our Hosted assets page for details.

Alternatively, you can build it from the source files. To do so, you will need Leiningen installed.

To do so, download the Snowplow repo:

$ git clone https://github.com/snowplow/snowplow.git

Navigate into the clojure collector folder:

$ cd 2-collectors/clojure-collector

Download the required dependencies:

$ lein deps

And then build the war file using our custom aws command:

$ lein aws

The war file will be saved in the target subdirectory - it is now ready to be deployed to Amazon Elastic Beanstalk.

Next: create a new application in Elastic Beanstalk and upload the WAR file into it

HOME > SNOWPLOW SETUP GUIDE > Collectors > Clojure collector setup

Setup Snowplow

  1. [Setup a Collector] (setting-up-a-collector)
  1. [Step 2: Setup a Tracker] (setting-up-a-tracker)
  2. [Step 3: Setup EmrEtlRunner] (setting-up-EmrEtlRunner)
  3. [Step 4: Setup the StorageLoader] (setting-up-storageloader)
  4. [Step 5: Analyze your data!] (Getting started analyzing Snowplow data)

Useful resources

Clone this wiki locally