You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@s2graph.apache.org by st...@apache.org on 2018/04/05 05:49:40 UTC
[2/5] incubator-s2graph git commit: modify readme
modify readme
Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/1b9200cb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/1b9200cb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/1b9200cb
Branch: refs/heads/master
Commit: 1b9200cb23eccd149d2a87ce870063dcbc6d40a4
Parents: 5a0a2d6
Author: Chul Kang <el...@apache.org>
Authored: Tue Apr 3 19:15:32 2018 +0900
Committer: Chul Kang <el...@apache.org>
Committed: Tue Apr 3 19:15:32 2018 +0900
----------------------------------------------------------------------
dev_support/README.md | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/1b9200cb/dev_support/README.md
----------------------------------------------------------------------
diff --git a/dev_support/README.md b/dev_support/README.md
index 2da1b55..9c274e9 100644
--- a/dev_support/README.md
+++ b/dev_support/README.md
@@ -22,8 +22,25 @@
# Run S2Graph using Docker
1. Build a docker image of the s2graph in the project's root directory
- - `sbt "project s2rest_play" 'set version := "latest"' docker:publishLocal`
+ - you can build images for each type of API Server
+ ```
+ // s2graphql
+ sbt "project s2graphql" 'set version := "latest"' docker
+
+ // s2rest_play
+ sbt "project s2rest_play" 'set version := "latest"' docker
+
+ // s2rest_netty
+ sbt "project s2rest_netty" 'set version := "latest"' docker
+ ```
+
- find local image is created correctly by using `docker images`
+
+ - (optional) If you need to add extra jars in classpath, use environment variable 'EXTRA_JARS'
+ ```
+ docker run --name s2graph -v /LocalJarsDir:/extraJars -e EXTRA_JARS=/extraJars -dit s2graph/s2graphql:latest ...
+ ```
+
2. Run MySQL and HBase container first.
- change directory to dev-support. `cd dev_support`
- `docker-compose build`