Skip to content
Oleg Zhurakousky edited this page Apr 14, 2014 · 38 revisions

==

Configure the development environment.

Clone the project first.

git clone https://github.com/olegz/yarn-tutorial.git

Once cloned, navigate to the project's root cd yarn-tutorial 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.

Eclipse:
./gradlew clean eclipse
IntelliJ IDEA
./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.

This project consists of several modules (3 at the time of writing). It is recommended to import all of them, but not always necessary depending on your goals.

==

==

Please send question and updates via pull requests and/or raising issues on this project.

Cheers!

Clone this wiki locally