From 45dba4443258d1f4da987115a32dd7b84897e778 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Sat, 1 Mar 2014 16:15:32 +0100 Subject: [PATCH] update README --- README.md | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index a0beb8e2..4741afff 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,6 @@ VTM is part of the OpenScienceMap project and developed at University of Bremen. - HTML5/WebGL (through libgdx and GWT) - iOS sooner or later -## Getting started - -`git clone --recursive https://github.com/opensciencemap/vtm` - -`cd vtm/vtm-android-app/assets && ln -s ../../vtm/assets/* .` - - ### Projects - **vtm** contains the core library - **vtm-android** Android backend (no libgdx required) @@ -36,15 +29,26 @@ VTM is part of the OpenScienceMap project and developed at University of Bremen. - **vtm-gdx-html** HTML5/GWT application - **vtm-gdx-android** Android application using libgdx backend -### Eclipse -Import all 'vtm' projects that you need into Eclipse. +## Getting started -### Gradle / Android-Studio -Just import build.gradle - should work, not much tested though.
-Or run gradle tasks from the commandline:
+`git clone --recursive https://github.com/opensciencemap/vtm` + +### Eclipse +``` +export ANDROID_HOME=/path/to/android-sdk +./gradlew eclipse +``` +Import all 'vtm' sub-projects into Eclipse. + +### Android-Studio +Just import build.gradle - should work, not much tested though. + +### Gradle +Or run gradle tasks directly (see also `./gradlew -q tasks`):
`./gradlew clean install`
to build the libraries and add them to the local maven repository.
-`./gradlew :vtm-android-example:installDebug`
to run the android example
-`./gradlew :vtm-gdx-desktop:run`
to run the desktop demo (only Linux and Win64 or compile the native libs) +`./gradlew :vtm-android-example:run`
to run the android example
+`./gradlew :vtm-gdx-desktop:run`
to run the desktop demo (only Linux64 and Win64 native libs are provided atm)
+`./gradlew :vtm-gdx-html:jettyDraftWar`
to run the webgl demo
## WebGL Demo