SYFO ktor kickstarter
A simple starter project for creating a kotlin + ktor based webapplication for the NAIS platform.
Getting started
- Checkout the code from git
- Update the application name (the entries with the value #app_name#) in Dockerfile, nais.yaml and settings.gradle and change the entrypoint in Dockerfile to mirror this name
- When using the other branches to cherry pick you probably need to do some changes in Environment.kt to reflect your nais environment variables
- You should now be able to build the application using
./gradlew clean shadowJar
- Build and verify that the docker image works by running
docker build -t app_name .
anddocker run -p 8080:8080 #app_name#
Contact us
Code/project related questions can be sent to
Kevin Sillerud, [email protected]
For NAV employees
We are available at the Slack channel #barken