Install Stream Enrich - OXYGEN-MARKET/oxygen-market.github.io GitHub Wiki
HOME » SNOWPLOW SETUP GUIDE » Step 3: Setting up Enrich » Step 3.2: setting up Stream Enrich » Install Stream Enrich
This documentation is for version 0.3.0 of Stream Enrich. Documentation for other versions is available:
You will need version 7 (aka 1.7) of the Java Runtime Environment installed.
You can choose to either:
- Download the Stream Enrich executable jarfile, or:
- Compile it from source
To get a local copy, you can download the executable jarfile directly from our Hosted Assets bucket on Amazon S3 - please see our Hosted assets page for details.
You will need to add the executable flag onto the file:
$ chmod +x snowplow-stream-enrich-0.x.0
Alternatively, you can build it from the source files. To do so, you will need scala and sbt installed.
To do so, clone the Snowplow repo:
$ git clone https://github.com/snowplow/snowplow.git
Navigate into the Stream Enrich folder:
$ cd 3-enrich/stream-enrich
Use sbt
to resolve dependencies, compile the source, and build an assembled fat JAR file with all dependencies.
$ sbt assembly
The jar
file will be saved as snowplow-stream-enrich-0.x.0
in the target/scala-2.10
subdirectory - it is now ready to be deployed.
Next: Configure Stream Enrich