added setup section to README

Original commit: elastic/x-pack-elasticsearch@4c842072f6
This commit is contained in:
Areek Zillur 2014-10-07 13:54:55 -04:00
parent 85a72ee3b5
commit 0bcdb016be
1 changed files with 23 additions and 1 deletions

View File

@ -5,7 +5,29 @@ Internal Elasticsearch Licensing Plugin
## Command Line tools (Interface with Internal License Server)
**Note:** Initially run `mvn clean compile package` to use the scripts
### Setup
```bash
# clone elasticsearch if not already cloned; go to elasticsearch project directory
git clone git@github.com:elasticsearch/elasticsearch.git
cd elasticsearch
# checkout 1.4 branch
git checkout 1.4
# install elasticsearch 1.4
mvn clean install -DskipTests=true
# clone elasticsearch-license; go to elasticsearch-license project directory
git clone git@github.com:elasticsearch/elasticsearch-license.git
cd elasticsearch-license
# TEMPORARY (switch to dev branch)
git checkout dev
# build
mvn clean package
```
### bin/key-pair-generator