We're Android developers, so of course we're Kotlin first! The official website of the community is built with Kobweb, a framework that allows us to build a static (or fullstack) web with Compose.
site/- The main project folder. This is where you'll be spending most of your time.public- The public files which are deployed to the server.src- The source code of the project.jsMainpages: the pages of the websitecomponentsshared components (layouts, widgets, etc.)data: static data sources and models
commonMainlibres: localized resources (strings, images)
First, you have to install kobweb binary. Follow the test installation steps in the official docs.
Once installed locally, execute the project with:
cd site
kobweb runWhen you are ready to ship, you should shutdown the development server and then export the project using:
kobweb export --layout staticWhen finished, you can run a Kobweb server in production mode:
kobweb run --env prod