1 ## Quarkus PostgreSQL and REST
3 git clone https://github.com/quarkusio/quarkus-quickstarts.git
5 cd quarkus-quickstarts/hibernate-orm-resteasy
7 docker run --ulimit memlock=-1:-1 -it --rm=true --memory-swappiness=0 --name quarkus_test -e POSTGRES_USER=quarkus_test -e POSTGRES_PASSWORD=quarkus_test -e POSTGRES_DB=quarkus_test -p 5432:5432 postgres:10.5
9 echo '%dev.quarkus.http.port=8787' >> src/main/resources/application.properties
11 mvn compile quarkus:dev
13 curl http://localhost:8787/fruits
15 ## Building a native image
17 You will see instructions if you try this:
21 We'll try again after installing Graal.
23 Download the latest release from https://github.com/oracle/graal/releases
25 For example https://github.com/oracle/graal/releases/download/vm-19.2.0.1/graalvm-ce-linux-amd64-19.2.0.1.tar.gz
28 gu install native-image
34 [Daniel Oh](https://github.com/danieloh30) gave a fantastic talk called [Quarkus brings Serverless to Java developers](https://devconfus2019.sched.com/event/RknJ/quarkus-brings-serverless-to-java-developers) at DevConf 2019.
36 A camera was rolling so I've been keeping an eye on the [DevConf YouTube channel](https://www.youtube.com/channel/UCmYAQDZIQGm_kPvemBc_qwg/videos) and will probably email hello@devconf.info if it isn't up soon.
38 Update: The video is available at https://www.youtube.com/watch?v=k9P7p3HF72U
40 Update: The slides are available at https://www.slideshare.net/DanielOh20/devconfus-2019quarkus-brings-serverless-to-java-developers
42 Slides from two previous talks seem similar:
44 - [Knative](https://www.slideshare.net/DanielOh20/knative-makes-developers-incredible-on-serverless)
45 - [Podman](https://www.slideshare.net/DanielOh20/podman-buildah-and-quarkus-the-latest-in-linux-containers-technologies)