Return-Path: X-Original-To: apmail-kylin-commits-archive@minotaur.apache.org Delivered-To: apmail-kylin-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20E3310351 for ; Mon, 7 Sep 2015 05:59:59 +0000 (UTC) Received: (qmail 29987 invoked by uid 500); 7 Sep 2015 05:59:59 -0000 Delivered-To: apmail-kylin-commits-archive@kylin.apache.org Received: (qmail 29959 invoked by uid 500); 7 Sep 2015 05:59:59 -0000 Mailing-List: contact commits-help@kylin.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.incubator.apache.org Delivered-To: mailing list commits@kylin.incubator.apache.org Received: (qmail 29949 invoked by uid 99); 7 Sep 2015 05:59:59 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2015 05:59:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 795F7C1825 for ; Mon, 7 Sep 2015 05:59:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.781 X-Spam-Level: X-Spam-Status: No, score=0.781 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id RrtYfLN6eMs5 for ; Mon, 7 Sep 2015 05:59:49 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 1353920313 for ; Mon, 7 Sep 2015 05:59:48 +0000 (UTC) Received: (qmail 29827 invoked by uid 99); 7 Sep 2015 05:59:48 -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; Mon, 07 Sep 2015 05:59:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2EAF0DFC8A; Mon, 7 Sep 2015 05:59:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: liyang@apache.org To: commits@kylin.incubator.apache.org Message-Id: <3502602b4f0a41f49d9b12be0921e21d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-kylin git commit: minor, fix dev_env.md about how to download JS Date: Mon, 7 Sep 2015 05:59:48 +0000 (UTC) Repository: incubator-kylin Updated Branches: refs/heads/0.7-staging ff9189cd1 -> e73c82209 minor, fix dev_env.md about how to download JS Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/e73c8220 Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/e73c8220 Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/e73c8220 Branch: refs/heads/0.7-staging Commit: e73c8220905eb3acba271f4432bbbada1545f42f Parents: ff9189c Author: Li, Yang Authored: Mon Sep 7 13:58:21 2015 +0800 Committer: Li, Yang Committed: Mon Sep 7 13:59:04 2015 +0800 ---------------------------------------------------------------------- website/_dev/dev_env.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/e73c8220/website/_dev/dev_env.md ---------------------------------------------------------------------- diff --git a/website/_dev/dev_env.md b/website/_dev/dev_env.md index fedeceb..20bb69f 100644 --- a/website/_dev/dev_env.md +++ b/website/_dev/dev_env.md @@ -75,18 +75,14 @@ Run a end-to-end cube building test, these special test cases will populate some It might take a while (maybe one hour), please keep patient. {% highlight Groff markup %} - -mvn test -Dtest=org.apache.kylin.job.BuildCubeWithEngineTest -DfailIfNoTests=false -P sandbox -mvn test -Dtest=org.apache.kylin.job.BuildIIWithEngineTest -DfailIfNoTests=false -P sandbox - + mvn test -Dtest=org.apache.kylin.job.BuildCubeWithEngineTest -DfailIfNoTests=false -P sandbox + mvn test -Dtest=org.apache.kylin.job.BuildIIWithEngineTest -DfailIfNoTests=false -P sandbox {% endhighlight %} Run other tests, the end-to-end cube building test is exclueded {% highlight Groff markup %} - mvn test -fae -P sandbox - {% endhighlight %} ### Launch Kylin Web Server @@ -94,7 +90,15 @@ Run other tests, the end-to-end cube building test is exclueded Copy server/src/main/webapp/WEB-INF to webapp/app/WEB-INF {% highlight Groff markup %} -cp -r server/src/main/webapp/WEB-INF webapp/app/WEB-INF + cp -r server/src/main/webapp/WEB-INF webapp/app/WEB-INF +{% endhighlight %} + +Download JS for Kylin web GUI. `npm` is part of `Node.js`, please search about how to install it on your OS. + +{% highlight Groff markup %} + cd webapp + npm install -g bower + bower --allow-root install {% endhighlight %} In IDE, launch `org.apache.kylin.rest.DebugTomcat` with working directory set to the /server folder. (By default Kylin server will listen on 7070 port; If you want to use another port, please specify it as a parameter when run `DebugTomcat)