From 415afec335659ca6bc206b34bdd3c2fe4635718f Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 1 Mar 2018 15:19:44 +0100 Subject: KVision site with Jekyll --- _posts/2018-03-01-getting-started.markdown | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 _posts/2018-03-01-getting-started.markdown (limited to '_posts') diff --git a/_posts/2018-03-01-getting-started.markdown b/_posts/2018-03-01-getting-started.markdown new file mode 100644 index 00000000..d609b368 --- /dev/null +++ b/_posts/2018-03-01-getting-started.markdown @@ -0,0 +1,35 @@ +--- +layout: post +title: "Getting started" +date: 2018-03-01 14:50:53 +0100 +categories: kvision kotlin +--- + +#### Development + +1. Download [KVision examples](https://github.com/rjaros/kvision-examples) from GitHub: + + git clone https://github.com/rjaros/kvision-examples.git + +2. Enter one of the examples directory: + + cd kvision-examples/showcase (on Linux) + cd kvision-examples\showcase (on Windows) + +3. Run Gradle incremental build with: + + ./gradlew -t run (on Linux) + gradlew.bat -t run (on Windows) + +4. Open [http://localhost:8088/](http://localhost:8088/) in your browser. + +5. Play with the code and see your changes immediately in the browser. + +#### Production + +To build complete application optimized for production run: + + ./gradlew -Pprod=true distZip (on Linux) + gradlew.bat -Pprod=true distZip (on Windows) + +Application package will be saved as build/distributions/showcase.zip. -- cgit