From ec700cd5159a646d024f253e8149c3ad4c767779 Mon Sep 17 00:00:00 2001 From: Keesun Baik Date: Fri, 12 Jul 2013 16:27:16 +0900 Subject: [PATCH] Update readme --- README.md | 47 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 5d3033b..f784e71 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Now, This module supports the latest version of the socket.io, 0.9.10. ## Name -The module name is `socket-io`. +The module name is `mod-socket-io`. ## Dependency @@ -15,25 +15,32 @@ Add a maven repository contains `mod-socket-io`. ```groovy repositories { - maven { url 'http://dev.springsprout.org/nexus/content/groups/public/' } + maven { url 'https://github.com/keesun/mvn-repo/raw/master' } ... } ``` ### Maven ```xml - - - springsprout - http://dev.springsprout.org/nexus/content/groups/public/ - - + + my.mvn.repo + https://github.com/keesun/mvn-repo/raw/master + ``` Add a dependency. -### Gradle +### Gradle (for the Vert.x 2.0.0-CR3) + +```groovy +dependencies { + compile "com.nhncorp:mod-socket-io:1.0.0" + ... +} +``` + +### Gradle (for the Vert.x 1.3.1.final) ```groovy dependencies { @@ -42,13 +49,23 @@ dependencies { } ``` -### Maven +### Maven (for the Vert.x 2.0.0-CR3) + +```maven + + com.nhncorp + mod-socket-io + 1.0.0 + +``` + +### Maven (for the Vert.x 1.3.1.final) ```maven - com.nhncorp - mod-socket-io - 0.9.10 + com.nhncorp + mod-socket-io + 0.9.10 ``` @@ -159,6 +176,7 @@ And, after you put the module's jar file to you module's classpath. You can code In the view, you can use the same socket.io javascript like: +```javascript \ No newline at end of file + +``` \ No newline at end of file