The following are those steps involved in using IntelliJ IDEA for deploying an application:
- Create a new run configuration using Application as a template
- For the main class use one of the following hosts:
- Netty: Use io.ktor.netty.DevelopmentHost
- Jetty: Use io.ktor.jetty.DevelopmentHost
- Specify the module to be used
- Save the configuration with a name
- Hit run and go to localhost:8080 in your browser