A simple command line tool (currently only works on macOS) to create the necessary structure for new Hands-On tutorials.
Configure the parameters for your hands-on tutorial using a JSON configuration file with the following format
{
"title": "Introduction to Ktor",
"projectName": "introduction-to-ktor",
"pathHandsOn": "./hands-on",
"pathProject": "./hands-on-project",
"pre": [
{
"text": "How to set up a project",
"link": "https://play.kotlinlang.org/hands-on/how-to"
},
{
"text": "How to start a server",
"link": "https://play.kotlinlang.org/hands-on/start-server"
}
]
}
It will create all the necessary files for you and all you need to do is to fill in some TODOs and push to GitHub. Of course, you'll also need to write the contents and projects!
This is a Kotlin/Native project that targets macOS. To build it, simply run
gradle macosBinaries
You can binaries on the Releases page.
Apache 2.0