diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-03-01 15:19:44 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-03-01 15:19:44 +0100 |
commit | 415afec335659ca6bc206b34bdd3c2fe4635718f (patch) | |
tree | 69446330560c0b89a38299e5ced7d3db4b3f5266 /_posts | |
parent | 8b298c0c5bb377863baf3e0125289957fd2afe5e (diff) | |
download | kvision-415afec335659ca6bc206b34bdd3c2fe4635718f.tar.gz kvision-415afec335659ca6bc206b34bdd3c2fe4635718f.tar.bz2 kvision-415afec335659ca6bc206b34bdd3c2fe4635718f.zip |
KVision site with Jekyll
Diffstat (limited to '_posts')
-rw-r--r-- | _posts/2018-03-01-getting-started.markdown | 35 |
1 files changed, 35 insertions, 0 deletions
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. |