druid/docs/content/Build-from-source.md

29 lines
749 B
Markdown
Raw Normal View History

---
2013-09-26 19:22:28 -04:00
layout: doc_page
---
2013-09-13 18:20:39 -04:00
### Build from Source
The other way to setup Druid is from source via git.
Builing Druid requires the following:
- [JDK 7](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)
or [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
- [Maven version 3.x](http://maven.apache.org/download.cgi)
To do so, run these commands:
2013-09-13 18:20:39 -04:00
```
2014-12-23 14:26:52 -05:00
git clone git@github.com:druid-io/druid.git
2013-09-13 18:20:39 -04:00
cd druid
mvn clean package
2013-09-13 18:20:39 -04:00
```
2015-02-19 14:41:37 -05:00
This will compile the project and create the Druid binary distribution tar under
`services/target/druid-VERSION-bin.tar.gz`.
2013-09-13 18:20:39 -04:00
You can find the example executables in the examples/bin directory:
2013-09-13 18:20:39 -04:00
* run_example_server.sh
* run_example_client.sh