Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B260A200BC4 for ; Sat, 19 Nov 2016 10:48:36 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B14C2160AEF; Sat, 19 Nov 2016 09:48:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CD746160B0E for ; Sat, 19 Nov 2016 10:48:35 +0100 (CET) Received: (qmail 599 invoked by uid 500); 19 Nov 2016 09:48:35 -0000 Mailing-List: contact commits-help@tinkerpop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tinkerpop.apache.org Delivered-To: mailing list commits@tinkerpop.apache.org Received: (qmail 553 invoked by uid 99); 19 Nov 2016 09:48:35 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Nov 2016 09:48:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E696BE9444; Sat, 19 Nov 2016 09:48:34 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rdale@apache.org To: commits@tinkerpop.apache.org Date: Sat, 19 Nov 2016 09:48:36 -0000 Message-Id: <92f78e0343354c5f8128fc0452dec68c@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [3/4] tinkerpop git commit: added doc archived-at: Sat, 19 Nov 2016 09:48:36 -0000 added doc Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/1e80537b Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/1e80537b Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/1e80537b Branch: refs/heads/tp32 Commit: 1e80537bc0d25a847f3efda36ef23c086ac9b59f Parents: 5c43053 Author: Robert Dale Authored: Sat Nov 19 04:10:04 2016 -0500 Committer: Robert Dale Committed: Sat Nov 19 04:10:04 2016 -0500 ---------------------------------------------------------------------- .../developer/development-environment.asciidoc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1e80537b/docs/src/dev/developer/development-environment.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/dev/developer/development-environment.asciidoc b/docs/src/dev/developer/development-environment.asciidoc index 2369133..f7ef0b7 100644 --- a/docs/src/dev/developer/development-environment.asciidoc +++ b/docs/src/dev/developer/development-environment.asciidoc @@ -56,7 +56,7 @@ Docker Integration ------------------ TinkerPop provides a shell script, that can start several build tasks within a Docker container. The -required Docker images will be built automatically if they don't exist yet. Thus the first invokation +required Docker images will be built automatically if they don't exist yet. Thus the first invocation of the Docker script is expected to take some time. The script can be found under `PROJECT_HOME/docker/build.sh`. The following tasks are currently @@ -70,11 +70,27 @@ supported: A list of command line options is provided by `docker/build.sh --help`. The container will install, configure and start all required dependencies, such as Hadoop. +Options can be passed to Docker by setting the `TINKERPOP_DOCKER_OPTS` environment variable. A speed boost can +be gained at the expense of memory by using tmpfs and the special directory `/usr/src/tinkermem`. + +[source,bash] +.Build in-memory +---- +TINKERPOP_DOCKER_OPTS="--tmpfs /usr/src/tinkermem:exec,mode=0755,rw,noatime,size=2000m" +---- + +[source,bash] +.Disable IPv6 for Hadoop +---- +TINKERPOP_DOCKER_OPTS="--sysctl net.ipv6.conf.all.disable_ipv6=1 --sysctl net.ipv6.conf.default.disable_ipv6=1" +---- + If the container is used to generate the user docs, it will start a web server and show the URL that is used to host the HTML docs. After finishing all tasks, the script will immediately destroy the container. + IDE Setup with Intellij -----------------------