================
Clone the project first.
git clone https://github.com/hortonworks/mini-dev-cluster.git
Once cloned, navigate to the project's root cd mini-dev-cluster
and follow these instructions. You should be up and running in less then a min.
This project uses Gradle as its build and dependency management (see http://www.gradle.org/). Gradle is self-provisioning build framework which means you don't have to have Gradle installed to follow the rest of the procedure.
BUILD for development:
Depending on the IDE you are using execute the following gradle script.
./gradlew clean eclipse
./gradlew clean idea
The above will generate all necessary IDE-specific artifacts to successfully import the project. Import the project into your IDE. For example in Eclipse follow this procedure:
File -> Import -> General -> Existing Project Into Workspace -> browse to the root of the project and click Finish
NOTE: You don't have to import projects as Gradle and/or Maven project. The
./gradlew clean eclipse/idea
command will take care of generating all the necessary IDE-native artifacts so you can import it as Eclipse/Gradle project and not deal with wrong plugin versions of one or another.
==
Simply execute com.hortonworks.minicluster.StartMiniHadoopCluster
shell> ./gradlew clean installApp
shell> build/install/mini-dev-cluster/bin/mini-dev-cluster
==
This is an evolving work in progress so more updates (code and documentation) will be coming soon