| Number of watchers on Github | 82 |
| Number of open issues | 2 |
| Main language | Java |
| Average time to merge a PR | 5 days |
| Open pull requests | 9+ |
| Closed pull requests | 6+ |
| Last commit | over 1 year ago |
| Repo Created | over 7 years ago |
| Repo Last Updated | over 1 year ago |
| Size | 122 MB |
| Homepage | http://try.kotl.in |
| Organization / Author | jetbrains |
| Contributors | 11 |
| Page Updated | 2018-03-21 |
| Do you use kotlin-web-demo? Leave a review! | |
| View open issues (2) | |
| View kotlin-web-demo activity | |
| View on github | |
| Fresh, new opensource launches 🚀🚀🚀 | |
|
Trendy new open source projects in your inbox!
View examples
|
|
This repository contains sources for try.kotl.in
Before starting the Kotlin-Web-Demo execute two gradle tasks: copyKotlinLibs for downloading kotlin libraries for compiler and
war for building war-archive from IDE or terminal:
$ gradlew ::copyKotlinLibs
$ gradlew war
By default try.kotl.in uses port 8080, and if that's OK, just make it available at http://localhost:8080 via this command:
$ docker-compose up
To change the port number, tweak 'docker-compose.yml':
ports:
- "your_port:8080"
If you'd like to log in to JetBrains account, Google, Facebook, GitHub, or Twitter, add corresponding keys to this configuration file:
<Environment name="github_key" value="YOUR-KEY" type="java.lang.String" override="false"/>
<Environment name="github_secret" value="YOUR-SECRET-KEY" type="java.lang.String" override="false"/>
manifest.json).See Kotlin-Koans for examples.
Just put whatever you need as dependencies to gradle.build via gradle task called library:
library "your dependency"
NOTE: If the library you're adding uses reflection, accesses the file system, or performs any other type of security-sensitive operations, don't forget to
configure the executors.policy.template
in web-demo-backend. Click here for more information about Java Security Police
How to set Java Security Police in executors.policy.template
If you want to a customm dependency, use the marker @WRAPPERS_LIB@:
grant codeBase "file:@WRAPPERS_LIB@/junit-4.12.jar" {
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
permission java.lang.RuntimePermission "setIO";
permission java.io.FilePermission "<<ALL FILES>>", "read";
permission java.lang.RuntimePermission "accessDeclaredMembers";
};
We're constantly working on making it easier to add your own courses to try.kotl.in and would appreciate ideas, suggestions,
and other feedback, so if you have any, please use our issue tracker to share it with us.
And, of course, if you have any bug reports, you can file them as well
If you need any help with compiling or running the project locally, join the #kontributors channel in the Kotlin Slack, and we'll be happy to help you out.