From 633ac2e6091cd60cb3c74fd4d7ae177b9418d2f2 Mon Sep 17 00:00:00 2001 From: Jiaqi Liu <2257440489@qq.com> Date: Wed, 8 May 2019 13:35:07 -0700 Subject: [PATCH] Update README --- README.md | 2 +- elide-standalone/README.md | 6 ++++-- translations/zh/README.md | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4077b12785..2683ffb8d2 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ To expose these models, follow the steps documented in [elide-standalone](https: ```java public class YourMain { - public static void main(String[] args) { + public static void main(String[] args) throws Exception { ElideStandaloneSettings settings = new ElideStandaloneSettings() { diff --git a/elide-standalone/README.md b/elide-standalone/README.md index 17f0b34a76..e36effd5d4 100644 --- a/elide-standalone/README.md +++ b/elide-standalone/README.md @@ -33,7 +33,7 @@ To actually start your Elide application, add the following to your main method: ```java public class Main { - public static void main(String[] args) { + public static void main(String[] args) throws Exception { ElideStandalone elide = new ElideStandalone(new ElideStandaloneSettings() { @Override public String getModelPackageName() { @@ -59,6 +59,8 @@ Below we'll walk through a complete example of setting up an Elide service witho **If you're interested in seeing a more complete example, check out our [ready-to-run example](https://github.com/DennisMcWherter/elide-example-blog-kotlin).** +You could also get a quicker experience of Elide using our [Docker image for this application](https://hub.docker.com/r/liujiaqi/elide-quick) + ### Setup a Database (MySQL) In our example, we will suggest your create a MySQL database called `elide` that is accessible to the user `elide` with password `elide123`. @@ -172,7 +174,7 @@ To start Elide, just run the `start()` method somewhere in your main function: ```java public class YourMain { - public static void main(String[] args) { + public static void main(String[] args) throws Exception { ElideStandalone elide = new ElideStandalone(new ElideStandaloneSettings() { @Override public String getModelPackageName() { diff --git a/translations/zh/README.md b/translations/zh/README.md index 44b4505427..f14b68c081 100644 --- a/translations/zh/README.md +++ b/translations/zh/README.md @@ -169,7 +169,7 @@ public class Book { ```java public class YourMain { - public static void main(String[] args) { + public static void main(String[] args) throws Exception { ElideStandaloneSettings settings = new ElideStandaloneSettings() {