Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 842a4d6

Browse files
Update README.md
1 parent 2f2ecba commit 842a4d6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

‎README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
11
# springboot-kotlin-dynamic-compiler
22
SpringBoot-Kotlin-Dynamic-Compiler
3+
4+
# Getting started
5+
1. git clone https://github.com/KingFalse/springboot-kotlin-dynamic-compiler.git
6+
2. mvn package
7+
3. java -jar SpringBoot-Kotlin-Dynamic-Compiler.jar
8+
4. Enjoy!
9+
```shell script
10+
curl --location --request POST 'http://127.0.0.1:8080/exec' \
11+
--header 'Content-Type: text/plain' \
12+
--data-raw 'package me.kagura.dynamiccompiler.script
13+
import me.kagura.dynamiccompiler.script.Worker
14+
15+
class KaguraWorker : Worker {
16+
override fun doWork(): String {
17+
return "https://www.kagura.me/"
18+
}
19+
}'
20+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /