Update documentation

parent 00cd138b
...@@ -11,4 +11,4 @@ pom.xml.asc ...@@ -11,4 +11,4 @@ pom.xml.asc
.hg/ .hg/
*.iml *.iml
.idea/ .idea/
jetty-graalvm-hello-world-0.1.0-SNAPSHOT-standalone app-standalone
\ No newline at end of file \ No newline at end of file
...@@ -6,13 +6,13 @@ Simple proof of concept Jetty server in Clojure using GraalVM. ...@@ -6,13 +6,13 @@ Simple proof of concept Jetty server in Clojure using GraalVM.
* ~1 ms startup time. * ~1 ms startup time.
* ~14 MB docker image. * ~14 MB docker image.
* Pure Clojure.
## Building and running locally ## Building and running locally
$ lein uberjar $ lein uberjar
$ $HOME/graalvm/bin/native-image \ $ $HOME/graalvm/bin/native-image \
--static \
-J-Xmx3G -J-Xms3G --no-server \ -J-Xmx3G -J-Xms3G --no-server \
-jar target/app-standalone.jar -jar target/app-standalone.jar
...@@ -24,12 +24,9 @@ Simple proof of concept Jetty server in Clojure using GraalVM. ...@@ -24,12 +24,9 @@ Simple proof of concept Jetty server in Clojure using GraalVM.
$ curl localhost:8080 $ curl localhost:8080
Hello World! 你好,世界! Hello World! 你好,世界!
## Building with docker ## Building and running with docker
$ docker build --tag=my-app .
$ docker run -p 8080:8080 --name my-app my-app
$ ./docker-run.sh
## License ## License
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment