From 5a5bcccd94c14a84fc41cfc2d78059b6ba3542f0 Mon Sep 17 00:00:00 2001 From: oblonski Date: Thu, 1 Sep 2016 10:02:37 +0200 Subject: [PATCH] create and add docs --- docs/Getting-Started.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/Getting-Started.md b/docs/Getting-Started.md index bebc4157..63196629 100644 --- a/docs/Getting-Started.md +++ b/docs/Getting-Started.md @@ -10,7 +10,7 @@ jsprit is a multi-module project and consists of: - jsprit-io ####Maven way -To use jsprit-core, add the following lines to your pom: +If you want to use the latest release of jsprit-core, add the following lines to your pom:
<dependency>
    <groupId>com.graphhopper</groupId>
@@ -19,6 +19,15 @@ To use jsprit-core, add the following lines to your pom:
 </dependency>
 
+####Build yourself +If you want to build the master branch yourself, do this: + +``` +git clone https://github.com/graphhopper/jsprit.git +cd jsprit +mvn clean install +``` + ####If you do not have an IDE and you want to use Maven the following documentation is recommended: @@ -28,9 +37,7 @@ the following documentation is recommended: Here you learn to setup the Java environment and an Integrated Development Environment (IDE). In the subsection Adding Jars to your Project you learn to integrate external libraries in your project. Just copy/paste the above jsprit releases/snapshots to your pom.xml instead of the GeoTools-artifacts. #### If you do not want Maven -to manage your dependencies, go to [snapshot-jars](https://github.com/jsprit/mvn-rep/tree/master/snapshots/jsprit) or [release-jars](https://github.com/jsprit/mvn-rep/tree/master/releases/jsprit) to download jsprit-binaries directly. Just click on the jar-file you want to download and use the 'Raw'-button to actually download it. Put the jars into your classpath. Note that you then need to put all [dependencies](https://github.com/jsprit/jsprit/wiki/Modules-and-Dependencies) jsprit relies on manually to your classpath as well. - -Go ahead and show me a [simple example](https://github.com/jsprit/jsprit/wiki/Simple-Example) of how to setup and solve a vehicle routing problem. +to manage your dependencies, go to [maven central](https://search.maven.org/), search for jsprit and download the latest binaries to put them into your classpath.