Skip to content

nyx2014/kotlin-web-demo

 
 

Repository files navigation

This is the source for try.kotl.in

#Filling Bugs We use YouTrack for bug reports and suggestions. Click here to report an issue.

##Installation try.kotl.in is running on Tomcat. You can setup Tomcat locally using init.xml. If you are installing tomcat manually, you need to download ConnectorJ lib and copy jar file to tomcat libraries.

You need MySql database to launch try.kotl.in, schema can be found here

##Building try.kotl.in is IDEA project.

try.kotl.in uses Kotlin for frontend, so latest bootstrap version of Kotlin plugin should be installed (see "Note for contributors" at Kotlin repository).

To build this project, first time you try to build you need to run update_dependencies.xml ant script, that will download Kotlin for user projects.

##Artifacts try.kotl.in consists of two war artifacts:

  • WebDemoWar - frontend server that communicates with user, forwards kotlin-related requests to backend
  • WebDemoBackend - backend server that processes requests related with Kotlin (run, highlight, etc.)

##Environment You need to pass some environment variables to application using tomcat context.xml. Use the following templates to create context files:

context.xml files should be placed near the associated templates.

##Run To run Web Demo you should build both artifacts and deploy them using Tomcat. If you have installed Tomcat locally with init.xml and using IDEA, WebDemoServer run configuration can be used.

About

Online mini-IDE for Kotlin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 29.2%
  • JavaScript 25.5%
  • Java 24.0%
  • Kotlin 17.0%
  • CSS 4.3%