This repository has been archived on 2024-05-04. You can view files and clone it, but cannot push or open issues or pull requests.
kotlin-course/README.md

1.2 KiB

Dezentrale Kotlin Course

Build The Documentation

This repository contains some examples and slides built with reveal-md.js. To view the slides, the following command must be executed with the node package manager (npm) 1:

npm install -g reveal-md

To be able to execute the command afterwards, we have to make the path known. This can be done either once with an

export PATH=<path_to_reval_md_bin_path>:$PATH

or by adding this path to ~/.profile. When this is done, you can execute the command:

reveal-md docs/slides.md -w

Kotlin Native Build

To compile this project natively, you have to go to the current Kotlin release page (currently version 1.8.0) and download the distribution that fits your operating system (you have to scroll down a bit).

kotlinc-native src/nativeMain/kotlin/Main.kt -o build/Main

  1. A tutorial for the installation can be found at the link above. ↩︎