Code Monkey home page Code Monkey logo

kotlin-web-demo's Introduction

Adapted from the below - but now integrates with Corda libraries for interactive online Corda development


official JetBrains project

This is the source for try.kotl.in

Filing Bugs

We use YouTrack for bug reports and suggestions on improving the Web Demo. Click here to report an issue. If you need help with compiling or running the project locally, please join the #kontributors channel in the Kotlin Slack, and we'll be happy to help you there.

Installation

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

try.kotl.in frontend part uses bower as a dependency manager. To fetch this dependencies you have to install node and run npm install in kotlin.web.demo.frontend folder.

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.

kotlin-web-demo's People

Contributors

abreslav avatar anton-bannykh avatar bashor avatar caismanai avatar dalinaum avatar dipanshkhandelwal avatar gildor avatar harmitage avatar ilya-g avatar nataliaukhorskaya avatar noia avatar satamas avatar svtk avatar tginsberg avatar udalov avatar yole avatar yu-ishicawa avatar zarechenskiy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.