Added: kylin/site/cn/development40/howto_contribute.html URL: http://svn.apache.org/viewvc/kylin/site/cn/development40/howto_contribute.html?rev=1891303&view=auto ============================================================================== --- kylin/site/cn/development40/howto_contribute.html (added) +++ kylin/site/cn/development40/howto_contribute.html Tue Jul 6 07:50:56 2021 @@ -0,0 +1,997 @@ +<!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<!doctype html> +<html> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>Apache Kylin | å¦ä½è´¡ç®</title> + <meta name="description" content="Apache Kylin Home"> + <meta name="author" content="Apache Kylin"> + <link rel="shortcut icon" href="fav.png" type="image/png"> + + + +<link rel="stylesheet" href="/assets/css/animate.css"> +<!-- Bootstrap --> +<link rel="stylesheet" href="/assets/css/bootstrap.min.css"> + +<!-- Fonts --> +<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> --> + +<!-- Icons --> +<link rel="stylesheet" href="/assets/css/font-awesome.min.css"> + + <!-- Custom styles --> + <link rel="stylesheet" href="/assets/css/styles.css"> + <link rel="stylesheet" href="/assets/css/docs.css"> + + <link rel="canonical" href="http://kylin.apache.org/cn/development40/howto_contribute.html"> + <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" /> + +<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]--> +<!-- Global site tag (gtag.js) - Google Analytics --> +<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120788561-1"></script> +<script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'UA-120788561-1'); +</script> +<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script> +<script type="text/javascript" src="/assets/js/nside.js"></script> </script> +<script type="text/javascript" src="/assets/js/nnav.js"></script> </script> +<script> +var _hmt = _hmt || []; +(function() { + var hm = document.createElement("script"); + hm.src = "https://hm.baidu.com/hm.js?bdc5e03add430c0b72cc0eb91eabfa99"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); +})(); +</script> +</head> + + <body> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<header id="header" > + <!-- Main Menu --> + <nav class="navbar navbar-default" role="navigation" id="nav-wrapper"> + <div class="container-fluid" id="nav"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <img class="navbar-logo" width="46" src="/assets/images/kylin_logo.png "></img> + + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <ul class="nav icon-navbar"> + <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li> + <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li> + <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li> + </ul> + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="navbar-collapse collapse" id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav"> + <li><a href="/cn">é¦é¡µ</a></li> + <li><a href="/cn/docs" >ææ¡£</a></li> + <li><a href="/cn/download">ä¸è½½</a></li> + <li><a href="/cn/community" >社åº</a></li> + <li><a href="/cn/development" >å¼å</a></li> + <li><a href="/cn/blog">å客</a></li> + <li><a href="/" >English</a></li> + </ul> + + + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> + </nav> + + <div id="head" class="parallax normal-header" > + <div class="text-center header-apache"> + <a href="http://apache.org/foundation/contributing.html" title="Support Apache" style="margin-left: 150px;"> + <div> + <img src="https://www.apache.org/images/SupportApache-small.png"> + </div> + </a> + </div> + </div> + + </header> + + + <div class="container"> + <div class="row" style="clear:both;"> + + <div class="col-md-8 col-lg-8 col-xs-12 col-sm-12 aside2" style="float: right;"> + <div id="container" class="docs"> + <div id="pjax"> + <h1 class="post-title">å¦ä½è´¡ç®</h1> + <article class="post-content" > + <p>Apache Kylin ä¸ç´å¯»æ±çä¸åªæ¯ä»£ç çè´¡ç®ï¼è¿å¯»æ±ä½¿ç¨ææ¡£ï¼æ§è½æ¥åï¼é®ççæ¹é¢çè´¡ç®ãææç±»åçè´¡ç®é½ä¸ºæä¸º Kylin Committer éºå¹³äºéè·¯ãæ¯ä¸ªäººé½ææºä¼ï¼å°¤å ¶æ¯é£äºæåæåè§£å³æ¹æ¡èæ¯çï¼å ä¸ºç¼ºå°æ¥èªäºç¨æ·åè§£å³æ¹æ¡è§è§çå 容ã</p> + +<h2 id="section">æºåæ¯</h2> +<p>代ç åææ¡£é½å¨ Git æºä»£ç æ§å¶ä¹ä¸ã注æä¸å忝çç¨éã</p> + +<ul> + <li><code class="highlighter-rouge">master</code>ï¼æ°åè½ç主å¼å忝</li> + <li><code class="highlighter-rouge">2.[n].x</code>ï¼ä¸äº 2.x 主è¦çæ¬çç»´æ¤åæ¯</li> + <li><code class="highlighter-rouge">3.[n].x</code>ï¼ä¸äº 3.x 主è¦çæ¬çç»´æ¤åæ¯</li> + <li><code class="highlighter-rouge">document</code>: ææ¡£åæ¯</li> +</ul> + +<h2 id="section-1">ç»ä»¶åæ¥æè </h2> +<p>Apache Kylin æå 个åç»ä»¶ãä¸ºäºæ´å¥½å°å¸®å©ç¤¾åºçåå±ï¼æä»¬ä¸ºæ¯ä¸ªç»ä»¶å®æäºä¸ä¸ªæå¤ä¸ªç»ä»¶è´è´£äººã</p> + +<ul> + <li> + <p>ç»ä»¶è´è´£äººæ¯å¿æ¿è ï¼ç»ä»¶é¢åçä¸å®¶ï¼ãè´è´£äººéè¦æä¸º Apache Kylin æäº¤è æ PMCã</p> + </li> + <li> + <p>è´è´£äººå°å°è¯å®¡æ¥å ¶ç»ä»¶èå´å çè¡¥ä¸ã</p> + </li> + <li> + <p>è´è´£äººå¯ä»¥æ ¹æ®ä»çæ¿æå社åºéæ±è¿è¡è½®æ¢ã</p> + </li> + <li> + <p>å¨æåææç¥¨æ°æäº¤è æ¶ï¼æåè éè¦è¯´æåé人å¯ä»¥æä¸ºåªä¸ªç»ä»¶çè´è´£äººã</p> + </li> + <li> + <p>妿æ¨å·²ç»æ¯ Apache Kylin æäº¤è æ PMC æå并叿æä¸ºç»ä»¶è´è´£äººçå¿æ¿è ï¼è¯·ç» dev å表åä¿¡ï¼æä»¬å°ä¸ºæ¨æ³¨åã</p> + </li> + <li> + <p>ææé¡¹ç®è®¡åï¼å³çä»ç± Apache Kylin PMC 管çã</p> + </li> + <li> + <p>妿æ¨è®¤ä¸ºç»ä»¶å表éè¦æ´æ°ï¼æ·»å ï¼å é¤ï¼éå½åçï¼ï¼è¯·ç» dev å表åä¿¡ï¼æä»¬å°å¯¹å ¶è¿è¡å®¡æ ¸ã</p> + </li> +</ul> + +<p>ç»ä»¶è´è´£äººåå¨äºè¿ä¸ª Apache Kylin <a href="https://issues.apache.org/jira/projects/KYLIN?selectedItem=com.atlassian.jira.jira-projects-plugin:components-page">JIRA components page</a> 页é¢ä¸ç Description åæ®µä½ç½®ãè´è´£äººåå¨ âDescriptionâ åæ®µä¸è䏿¯ âComponent Leadâ åæ®µä¸ï¼å 为åè ä» å 许æä»¬ååºä¸ä¸ªäººï¼ç¶èå ¶é¼å±ç»ä»¶å ·æå¤ä¸ªè´è´£äººã</p> + +<h2 id="section-2">éæ©ä¸ä¸ªä»»å¡</h2> +<p>è¿éææ°å建çä»»å¡çå¾ è¢«å®æï¼ç± JIRA 追踪ã为äºè®©å ¶å®¹æè¢«æç´¢ï¼è¿éæä¸äºè¿æ»¤æ¡ä»¶ã</p> + +<ul> + <li>ç±ææ¬ç®¡çç<a href="https://issues.apache.org/jira/issues/?filter=12339895">ä»»å¡å表</a>ã</li> + <li>ç± Ted Yu å建ç<a href="https://issues.apache.org/jira/issues/?filter=12341496">ä»»å¡å表</a>ï¼éè¦çå°ç bugs ä¸å ¶ä¸ä¸äºå¾å®¹æè¢«ä¿®å¤ã</li> + <li>æ¨ä¹å¯ä»¥å¨ Kylin JIRA ä¸æç´¢æ ç¾ ânewbieâã</li> +</ul> + +<p>å¨å大任å¡ä¹åå«å¿äºå¨<a href="/community/index.html">é®ç®±å表</a>ä¸è®¨è®ºã</p> + +<p>å¦æä¸º bug æåè½åå»ºäºæ°ç JIRAï¼è¯·è®°ä½ä¸ºç¤¾åºæä¾è¶³å¤çä¿¡æ¯ï¼</p> + +<ul> + <li>é®é¢æåè½çè¯å¥½æè¦</li> + <li>详ç»è¯´æï¼å¯è½å æ¬ï¼ + <ul> + <li>è¿ä¸ªé®é¢åççç¯å¢</li> + <li>éç°é®é¢çæ¥éª¤</li> + <li>é误è·è¸ªææ¥å¿æä»¶ï¼ä½ä¸ºéä»¶ï¼</li> + <li>model æ cube çå æ°æ®</li> + </ul> + </li> + <li>ç¸å ³ç»ä»¶ï¼æä»¬å°æ ¹æ®æ¤éæ©å®æå®¡æ ¸äººåã</li> + <li>åå½±åççæ¬ï¼æ¨æ£å¨ä½¿ç¨ç Kylin çæ¬ã</li> +</ul> + +<h2 id="section-3">è¿è¡ä»£ç æ´æ¹</h2> +<ul> + <li><a href="/cn/development40/dev_env.html">æå»ºå¼åç¯å¢</a></li> + <li>æåº JIRAï¼æè¿°åè½/æå/bug</li> + <li>å¨é®ä»¶å表æ issue è¯è®ºä¸ä¸å ¶ä»äººè®¨è®ºï¼ç¡®ä¿æè®®çæ´æ¹ç¬¦åå ¶ä»äººæ£å¨åçäºæ 以å为项ç®è§åçå 容</li> + <li>卿¨ç fork ä¸è¿è¡ä¿®æ¹ + <ul> + <li>ç®å没æä¸¥æ ¼çä»£ç æ ·å¼ï¼ä½ä¸è¬è§åä¸ç°ææä»¶ä¿æä¸è´ãä¾å¦ï¼å¯¹ java æä»¶ä½¿ç¨ 4 ç©ºæ ¼ç¼©è¿ã</li> + <li>å°½å¯è½ä¸ºä»£ç æ´æ¹æ·»å æµè¯ç¨ä¾ã</li> + <li>ç¡®ä¿ âmvn clean packageâ å âmvn testâ è½å¤è·å¾æåã</li> + <li>å åçåå æµè¯åéææµè¯æ¯ä»£ç æ´æ¹çå¿ è¦é¨åã</li> + </ul> + </li> + <li><a href="/cn/development40/howto_test.html">è¿è¡æµè¯</a> ä»¥ç¡®ä¿æ¨çæ´æ¹è´¨éè¯å¥½ä¸ä¸ä¼ç ´åä»»ä½å 容ã妿æ¨çè¡¥ä¸çæä¸æ£ç¡®ææ¨ç代ç ä¸ç¬¦åä»£ç æåï¼åå¯è½ä¼è¦æ±æ¨éåæäºå·¥ä½ã</li> + <li>çæè¡¥ä¸å¹¶å°å ¶éå å°ç¸å ³ç JIRAã</li> +</ul> + +<h2 id="patch">çæ Patch</h2> +<ul> + <li>ä½¿ç¨ <code class="highlighter-rouge">submit-patch.py</code>ï¼æ¨èï¼å建 patchesï¼ä¸ä¼ å° jira å¹¶å¯éæ©å¨ Review Board ä¸å建/æ´æ°è¯è®ºã Patch åç§°èªå¨æ ¼å¼å为(JIRA).(忝åç§°).(è¡¥ä¸å·).patchï¼éµå¾ª Yetus çå½åè§åã</li> +</ul> + +<div class="highlighter-rouge"><pre class="highlight"><code>$ ./dev-support/submit-patch.py -jid KYLIN-xxxxx -b master -srb +</code></pre> +</div> + +<ul> + <li>ç¨ -h æ å¿å¯ä»¥äºè§£æ¤èæ¬ç详ç»ç¨æ³ä¿¡æ¯ãææç¨çé项æ¯ï¼ + <ul> + <li>-b BRANCH, âbranch BRANCH : æå®ç¨äºçæ diff çåºæ¬åæ¯ãå¦ææªæå®ï¼å使ç¨è·è¸ªåæ¯ãå¦ææ²¡æè·è¸ªåæ¯ï¼å伿åºé误ã</li> + <li>-jid JIRA_ID, âjira-id JIRA_ID : å¦æä½¿ç¨ï¼åä» jira ä¸çéä»¶æ¨æä¸ä¸ä¸ªè¡¥ä¸çæ¬å¹¶ä¸ä¼ æ°è¡¥ä¸ãèæ¬å°è¦æ± jira ç¨æ·å/å¯ç è¿è¡èº«ä»½éªè¯ã妿æªè®¾ç½®ï¼åå°è¡¥ä¸å½å为 .patchã</li> + </ul> + </li> + <li>é»è®¤æ åµä¸ï¼å®è¿ä¼å建/æ´æ° review boardãè¦è·³è¿è¯¥æä½ï¼è¯·ä½¿ç¨ -srb é项ãå®ä½¿ç¨ jira ä¸çâIssue Linksâæ¥ç¡®å®å®¡æ ¸è¯·æ±æ¯å¦å·²åå¨ãå¦ææ²¡æå®¡æ ¸è¯·æ±ï¼åå建ä¸ä¸ªæ°è¯·æ±å¹¶ä½¿ç¨ jira æè¦ï¼patch 说æçå¡«å ææå¿ å¡«åæ®µãæ¤å¤ï¼è¿å°æ¤è¯è®ºç龿¥æ·»å å° jiraã</li> + <li> + <p>å®è£ éè¦ç python ä¾èµï¼ä» master 忝æ§è¡ <code class="highlighter-rouge">pip install -r dev-support/python-requirements.txt</code>ã</p> + </li> + <li>æè ï¼æ¨ä¹å¯ä»¥æå¨çæ patchã请é¦å ä½¿ç¨ <code class="highlighter-rouge">git rebase -i</code>ï¼å°è¾å°çæäº¤ç»åï¼squashï¼ä¸ºä¸ä¸ªè¾å¤§çæäº¤ãç¶åä½¿ç¨ <code class="highlighter-rouge">git format-patch</code> å½ä»¤çæ patchï¼æå ³è¯¦ç»æåï¼è¯·åé <a href="https://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/">å¦ä½ä½¿ç¨ Git å建ååºç¨è¡¥ä¸</a>ã</li> +</ul> + +<h2 id="section-4">代ç 审æ¥</h2> +<p>å®¡æ ¸äººåéè¦ä»ä»¥ä¸è§åº¦å®¡æ ¸ patchï¼</p> + +<ul> + <li><em>åè½æ§</em>ï¼patch å¿ é¡»è§£å³é®é¢ï¼å¹¶å¨æäº¤å®¡æ ¸ä¹åå·²ç»è¿è´¡ç®è çéªè¯ã</li> + <li><em>æµè¯èå´</em>ï¼æ´æ¹å¿ é¡»ç± UT æéææµè¯è¦çï¼å¦åæ æ³ç»´æ¤ãæ§è¡æ¡ä¾å æ¬ GUIï¼shell èæ¬çã</li> + <li><em>æ§è½</em>ï¼æ¹åä¸åºè¯¥éä½ Kylin çæ§è½ã</li> + <li><em>å æ°æ®å ¼å®¹æ§</em>ï¼æ´æ¹åºæ¯ææ§å æ°æ®å®ä¹ãå¦åï¼éè¦å æ°æ®è¿ç§»å·¥å ·åææ¡£ã</li> + <li><em>API å ¼å®¹æ§</em>ï¼æ´æ¹ä¸åºè¯¥ç ´åå ¬å ± API çåè½åè¡ä¸ºï¼å¦æéè¦ç¨æ° API æ¿æ¢æ§ APIï¼è¯·å¨é£éæå°è¦åæ¶æ¯ã</li> + <li><em>ææ¡£</em>ï¼å¦æéè¦åæ¶æ´æ° Kylin ææ¡£ï¼è¯·å建å¦ä¸ä¸ª JIRAï¼å¹¶å° âDocumentâ ä½ä¸ºè¦è·è¸ªçç»ä»¶ãå¨ JIRA ææ¡£ä¸ï¼éå âææ¡£â åæ¯çææ¡£æ´æ¹ patchã</li> +</ul> + +<p>ä¸ç¬¦åä¸è¿°è§åçè¡¥ä¸å¯è½æ æ³åå¹¶ã</p> + +<h2 id="patch-1-">Patch +1 æ¿ç</h2> + +<p>å¨æäº¤ä¹åï¼éåå个ç»ä»¶èå´ç修补ç¨åºè³å°éè¦ä¸ä¸ªç»ä»¶è´è´£äººç +1ã妿è´è´£äººä¸å¨ â å¨å¿æå ¶ä» â 两个éè´è´£äººï¼å³ä¸¤ä¸ªæäº¤è ï¼ç +1ï¼å°±è¶³å¤äºã</p> + +<p>è·¨ç»ä»¶ç patch å¨æäº¤ä¹åè³å°éè¦ä¸¤ä¸ª +1ï¼æå¥½ç± x-component patch æ¶åçç»ä»¶è´è´£äººç +1ã</p> + +<p>ä»»ä½äººé½å¯ä»¥å¨ patch ä¸ -1ï¼ä»»ä½ -1 é½å¯ä»¥å¦å³è¡¥ä¸ï¼å¨è§£å³ -1 ççç±ä¹åï¼å®ä¸è½è¢«æäº¤ã</p> + +<h2 id="patch-1">åºç¨ Patch</h2> +<ul> + <li>Committer å°å®¡æ ¸ JIRA ä¸ç Pull Requests å Patches çæ£ç¡®æ§ï¼æ§è½ï¼è®¾è®¡ï¼ç¼ç 飿 ¼ï¼æµè¯è¦ççï¼</li> + <li>å¿ è¦æ¶è¿è¡è®¨è®ºåä¿®æ¹ï¼</li> + <li>Committer å°ä»£ç åå¹¶å°ç®æ åæ¯ä¸ + <ul> + <li>å¯¹äº git patchï¼è¯·ä½¿ç¨ âgit am -s -3 patch-fileâ å½ä»¤è¿è¡åºç¨ï¼</li> + <li>å¦ææ¯æ¥èª github Pull Requestï¼åéè¦æ·»å âThis closingï¼â ä½ä¸ºæäº¤æ¶æ¯çä¸é¨åãè¿å°å 许 ASF Git bot å ³é PRï¼</li> + <li>ä½¿ç¨ <code class="highlighter-rouge">git rebase</code> ç¡®ä¿åå¹¶ç»ææ¯æäº¤çç®åã</li> + </ul> + </li> +</ul> + +<h2 id="section-5">è¿è¡ææ¡£æ´æ¹</h2> +<p>æ¥ç<a href="/cn/development40/howto_docs.html">å¦ä½åææ¡£</a>ã</p> + + + </article> + </div> + </div> + </div> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<div class="col-md-4 col-lg-4 col-xs-12 col-sm-12 aside1 visible-sm visible-xs visible-md visible-lg" id="nside1" style=" margin-top: 5em;float:right;"> + <ul class="nav nav-pills nav-stacked"> + + <li><a href="#titleå¼åæå" data-toggle="collapse" class="navtitle">å¼åæå</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li> + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/dev_env.html" class="list-group-item-lay pjaxlink">æå»ºå¼åç¯å¢</a></li> + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/coding_naming_convention.html" class="list-group-item-lay pjaxlink">ç¼ç åå½åæ¯ä¾</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">å¦ä½æä¸º Apache Committer</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/doc_spec.html" class="list-group-item-lay pjaxlink">Kylin ææ¡£æ°åè§è</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å </a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/plugin_arch.html" class="list-group-item-lay pjaxlink">æä»¶æ¶æ</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/web_tech.html" class="list-group-item-lay pjaxlink">Kylin Web æè¦</a></li> + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/about_temp_files.html" class="list-group-item-lay pjaxlink">å ³äºä¸´æ¶æä»¶</a></li> + + + + + + + <ul> + </div> +</div> + + + </ul> +</div> + </div> + </div> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<footer id="underfooter"> + <div> + <div class="row"> + <div class="col-md-12 widget"> + <div class="widget-body"> + <div class="footer-img"> + <a href="http://www.apache.org"> + <img id="asf-logo" height="78px" alt="Apache Software Foundation" src="/assets/images/apache_footer.png"> + </a> + </div> + <p style="padding-top: 11px;"> + The contents of this website are © 2015 Apache Software Foundation under the terms of the + <a href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>. + </p> + <p style="margin-bottom: 11px;"> + Apache Kylin and its logo are trademarks of the Apache Software Foundation. + </div> + + </div> + </div> + </div> + <!-- /row of widgets --> + + </div> + <div></div> + +</footer> + + <script src="/assets/js/jquery-1.9.1.min.js"></script> + <script src="/assets/js/bootstrap.min.js"></script> + <script src="/assets/js/main.js"></script> + </body> +</html>
Added: kylin/site/cn/development40/howto_docs.html URL: http://svn.apache.org/viewvc/kylin/site/cn/development40/howto_docs.html?rev=1891303&view=auto ============================================================================== --- kylin/site/cn/development40/howto_docs.html (added) +++ kylin/site/cn/development40/howto_docs.html Tue Jul 6 07:50:56 2021 @@ -0,0 +1,1064 @@ +<!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<!doctype html> +<html> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>Apache Kylin | å¦ä½åææ¡£</title> + <meta name="description" content="Apache Kylin Home"> + <meta name="author" content="Apache Kylin"> + <link rel="shortcut icon" href="fav.png" type="image/png"> + + + +<link rel="stylesheet" href="/assets/css/animate.css"> +<!-- Bootstrap --> +<link rel="stylesheet" href="/assets/css/bootstrap.min.css"> + +<!-- Fonts --> +<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> --> + +<!-- Icons --> +<link rel="stylesheet" href="/assets/css/font-awesome.min.css"> + + <!-- Custom styles --> + <link rel="stylesheet" href="/assets/css/styles.css"> + <link rel="stylesheet" href="/assets/css/docs.css"> + + <link rel="canonical" href="http://kylin.apache.org/cn/development40/howto_docs.html"> + <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" /> + +<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]--> +<!-- Global site tag (gtag.js) - Google Analytics --> +<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120788561-1"></script> +<script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'UA-120788561-1'); +</script> +<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script> +<script type="text/javascript" src="/assets/js/nside.js"></script> </script> +<script type="text/javascript" src="/assets/js/nnav.js"></script> </script> +<script> +var _hmt = _hmt || []; +(function() { + var hm = document.createElement("script"); + hm.src = "https://hm.baidu.com/hm.js?bdc5e03add430c0b72cc0eb91eabfa99"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); +})(); +</script> +</head> + + <body> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<header id="header" > + <!-- Main Menu --> + <nav class="navbar navbar-default" role="navigation" id="nav-wrapper"> + <div class="container-fluid" id="nav"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <img class="navbar-logo" width="46" src="/assets/images/kylin_logo.png "></img> + + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <ul class="nav icon-navbar"> + <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li> + <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li> + <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li> + </ul> + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="navbar-collapse collapse" id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav"> + <li><a href="/cn">é¦é¡µ</a></li> + <li><a href="/cn/docs" >ææ¡£</a></li> + <li><a href="/cn/download">ä¸è½½</a></li> + <li><a href="/cn/community" >社åº</a></li> + <li><a href="/cn/development" >å¼å</a></li> + <li><a href="/cn/blog">å客</a></li> + <li><a href="/" >English</a></li> + </ul> + + + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> + </nav> + + <div id="head" class="parallax normal-header" > + <div class="text-center header-apache"> + <a href="http://apache.org/foundation/contributing.html" title="Support Apache" style="margin-left: 150px;"> + <div> + <img src="https://www.apache.org/images/SupportApache-small.png"> + </div> + </a> + </div> + </div> + + </header> + + + <div class="container"> + <div class="row" style="clear:both;"> + + <div class="col-md-8 col-lg-8 col-xs-12 col-sm-12 aside2" style="float: right;"> + <div id="container" class="docs"> + <div id="pjax"> + <h1 class="post-title">å¦ä½åææ¡£</h1> + <article class="post-content" > + <p>æä»¬ä»¥ MD æ ¼å¼ç¼åææ¡£å¹¶ä½¿ç¨ <a href="http://jekyllrb.com">Jekyll</a> 转æ¢ä¸º HTMLãJekyll çæç HTML ä¸ä¼ å° apache SVN å¹¶æä¸º Kylin ç½ç«ãææ MD æºæä»¶é½å¨ git ä¸ç®¡çï¼å æ¤å¯ä»¥æ¸ æ¥å°è·è¸ªæææ´æ¹åè´¡ç®è ã</p> + +<h2 id="section">å·¥ä½å</h2> + +<p>卿¨æ·»å æä¿®æ¹ææ¡£åï¼è¯·é¨ç½²ææ¡£ç¼è¯æéçç¯å¢ï¼æä»¬æä¾ä»¥ä¸ä¸¤ç§æ¹æ³ï¼</p> + +<ul> + <li><a href="#æ¬å°é¨ç½²ææ¡£ç¼è¯ç¯å¢">æ¬å°é¨ç½²ææ¡£ç¼è¯ç¯å¢</a></li> + <li><a href="#ä½¿ç¨ Docker é¨ç½²ææ¡£ç¼è¯ç¯å¢">ä½¿ç¨ Docker é¨ç½²ææ¡£ç¼è¯ç¯å¢ï¼æ¨èï¼</a></li> +</ul> + +<h3 id="span-idspan"><span id="æ¬å°é¨ç½²ææ¡£ç¼è¯ç¯å¢">æ¬å°é¨ç½²ææ¡£ç¼è¯ç¯å¢</span></h3> + +<p>卿¨æ·»å æä¿®æ¹ææ¡£å请å®è£ 以ä¸å·¥å ·ï¼</p> + +<ol> + <li>é¦å ï¼ç¡®ä¿ Ruby å Gem è½å¨æ¨çæºå¨ä¸å·¥ä½ + <ul> + <li>å¯¹äº Mac ç¨æ·ï¼è¯·åè<a href="https://github.com/sstephenson/rbenv#homebrew-on-mac-os-x">è¿ä¸ª</a>æ¥æå»º ruby ç¯å¢ã</li> + <li>å¯¹äº Windows ç¨æ·ï¼ä½¿ç¨ <a href="http://rubyinstaller.org/downloads/">ruby installer</a>ã</li> + <li>å¯¹äº China ç¨æ·ï¼èè使ç¨ä¸ä¸ª<a href="https://ruby.taobao.org/">æ¬å° gem ä»åº</a>以鲿¢ç½ç»é®é¢ã</li> + </ul> + </li> + <li>ç¶åï¼å®è£ <a href="http://jekyllrb.com">Jekyll</a>ï¼ä»¥åéè¦çæä»¶ + <ul> + <li><code class="highlighter-rouge">gem install jekyll jekyll-multiple-languages kramdown rouge</code></li> + <li><strong>注æ</strong>ï¼ä¸äºç¹å®ç jekyll å jekyll-multiple-languages çæ¬ä¸è½ä¸èµ·ä½¿ç¨ï¼ä½¿ç¨ jekyll 3.0.1 å jekyll-multiple-languages 2.0.3 æ¶æéå°ä¸ä¸ª âundefined methodâ é误)ãè¿ç§æ åµä¸ï¼<code class="highlighter-rouge">jekyll 2.5.3</code> å <code class="highlighter-rouge">jekyll-multiple-languages 1.0.8</code> æ¯å·²ç¥å¯è¿è¡ççæ¬ã</li> + <li>ä¾å¦ï¼ä½¿ç¨ <code class="highlighter-rouge">gem install jekyll --version "=2.5.3"</code> æ¥å®è£ å ·ä½ççæ¬ã</li> + <li><strong>注æ</strong>ï¼å¯¹äº Mac ç¨æ·ï¼å¦æ gem å®è£ æ¶éå°ç±»ä¼¼è¿æ ·çé误 âERROR: While executing gem ⦠(Gem::FilePermissionError)âãæ¨å¯ä»¥ä½¿ç¨ âbrew install rubyâ çæ¹å¼è§£å³è¿ä¸ªé®é¢ï¼ç¶åé坿¨çç»ç«¯ã</li> + </ul> + </li> + <li>æ¨å¯ä»¥éæ©ä»»ä½ markdown ç¼è¾å¨</li> +</ol> + +<p>ä¸é¢æ¯ä¸ä¸ªå¯ä»¥å·¥ä½ç gem å表ã妿 jekyll å®è£ æä¸ºé®é¢ï¼è¯·åæä½¿ç¨è¿äºçæ¬ã</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>$ gem list + +... +jekyll (2.5.3) +jekyll-coffeescript (1.0.1) +jekyll-gist (1.4.0) +jekyll-multiple-languages (1.0.8) +jekyll-paginate (1.1.0) +jekyll-sass-converter (1.4.0) +jekyll-watch (1.3.1) +json (1.8.1) +kramdown (1.9.0) +... +rouge (1.10.1) +... +</code></pre> +</div> + +<h3 id="span-id-docker--docker-span"><span id="ä½¿ç¨ Docker é¨ç½²ææ¡£ç¼è¯ç¯å¢">ä½¿ç¨ Docker é¨ç½²ææ¡£ç¼è¯ç¯å¢</span></h3> + +<p>ææ°çç kylin å叿ä¾äº dockerfileï¼æ¥åå°æå»ºå¤ææ§ä½¿ç¨ docker å Makefile è½è°ç¨ docker å½ä»¤ã</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>$ pwd +/Users/<username>/kylin/website +$ make docker.build +docker build -f Dockerfile -t kylin-document:latest . +Sending build context to Docker daemon 82.44MB +Step 1/3 : FROM jekyll/jekyll:2.5.3 + ---> e81842c29599 +Step 2/3 : RUN gem install jekyll-multiple-languages -v 1.0.11 + ---> Using cache + ---> e9e8b0f1d388 +Step 3/3 : RUN gem install rouge -v 3.0.0 + ---> Using cache + ---> 1bd42c6b93c0 +Successfully built 1bd42c6b93c0 +Successfully tagged kylin-document:latest +$ make runserver +docker run --volume="/Users/<username>/kylin/website:/srv/jekyll" -p 4000:4000 --rm -it kylin-document:latest jekyll server --watch +Configuration file: /srv/jekyll/_config.yml + Source: /srv/jekyll + Destination: /srv/jekyll/_site + Generating... +... +</code></pre> +</div> + +<h2 id="jekyll">å ³äº Jekyll</h2> +<p>Jekyll æ¯ä¸ä¸ªç¨äºä»æºææ¬å主é¢çæéæ HTML ç½ç«ç Ruby èæ¬ï¼HTML å¨é¨ç½²å° Web æå¡å¨ä¹åçæãJekyll æ°å¥½ä¹æ¯ GitHub 页é¢èåç弿ã</p> + +<p>Apache Kylin çç½ç«åææ¡£ä½¿ç¨ Jekyll æ¥ç®¡çåçæï¼å¯å¨ <a href="http://kylin.apache.org">http://kylin.apache.org</a> ä¸çå°æç»å 容ã</p> + +<h2 id="multi-language">Multi-Language</h2> +<p>è¦èæä¸æçææ¡£æç¿»è¯ç°æææ¡£ï¼åªéæ·»å æå¤å¶è¯¥ææ¡£ï¼å称以 .cn.md ä½ä¸ºåç¼ãå®å°å¨ /cn æä»¶å¤¹ä¸çæä¸ html ååçæä»¶ã<br /> +è¦æ·»å å ¶ä»è¯è¨ï¼è¯·æ´æ° _config.yml å¹¶éµå¾ªä¸ä¸æçç¸åçæ¨¡å¼ã</p> + +<h2 id="kylin-">Kylin ææ¡£ç»æä»¥å导èªèå</h2> + +<p><a href="https://github.com/apache/kylin/tree/document/website">ä½ä¸º Jekyll æºç Kylin ç½ç«</a>æ¯å¨ <code class="highlighter-rouge">doucment</code> 忝ä¸ç»´æ¤çã</p> + +<ol> + <li><strong>Home Page</strong>ï¼<em>âindex.mdâ</em> ææ¡£ç主页</li> + <li><strong>Getting Started</strong>ï¼<em>âgettingstartedâ</em> çæ Apache Kylin çææ¡£ï¼å æ¬ FAQï¼æ¯è¯</li> + <li><strong>Installation</strong>ï¼<em>âinstallâ</em> Apache Kylin å®è£ æå</li> + <li><strong>Tutorial</strong>ï¼<em>âtutorialâ</em> å ³äºç¨æ·å¦ä½ä½¿ç¨ Apache Kylin çæç¨</li> + <li><strong>How To</strong>ï¼<em>âhowtoâ</em> æ´ç»èç叮婿å</li> + <li><strong>Development</strong>ï¼<em>âdevelopmentâ</em> 为äºå¼åè è´¡ç®ï¼éæå ¶å®åºç¨åæ©å± Apache Kylin</li> + <li><strong>Others</strong>ï¼å ¶å®ææ¡£ã</li> +</ol> + +<p>èåç± Jekyll éå管çï¼</p> + +<ul> + <li><strong>_data/docs.yml</strong>ï¼è±æçæ¬èåç»æ</li> + <li><strong>_data/docs-cn.yml</strong>ï¼ä¸æçæ¬èåç»æ</li> + <li><strong>add new menu item</strong>ï¼æ·»å æ°çæ¡ç®ï¼å¨ç¸å ³æä»¶å¤¹ä¸åå»ºæ°ææ¡£ï¼ä¾å¦ howto_example.mdãæ·»å å¦ä¸çåæ è®°ï¼</li> +</ul> + +<div class="highlighter-rouge"><pre class="highlight"><code>--- +layout: docs +title: How to expamle +categories: howto +permalink: /docs/howto/howto_example.html +version: v0.7.2 +since: v0.7.2 +--- +</code></pre> +</div> + +<p>å°é¾æ¥æ´æ¹ä¸ºå®å ¨é¾æ¥<br /> +ç¶åå°æ¡ç®æ·»å å° docs.ymlï¼å¦ï¼</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>- title: How To + docs: + - howto/howto_contribute + - howto/howto_jdbc + - howto/howto_example +</code></pre> +</div> + +<h2 id="section-1">å¦ä½ç¼åææ¡£</h2> +<p>使ç¨ä»»ä½ markdown ç¼è¾å¨æå¼ææ¡£ï¼èæå 容并卿¬å°é¢è§ã</p> + +<p>æ ·ä¾ææ¡£ï¼</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>--- +layout: docs +title: How to example +categories: howto +permalink: /docs/howto/howto_example.html +version: v0.7.2 +since: v0.7.2 +--- + +## This is example doc +The quick brown fox jump over the lazy dog. +</code></pre> +</div> + +<h2 id="section-2">å¦ä½æ·»å å¾ç</h2> +<p>ææçå¾ç请æ¾å° <em>images</em> æä»¶å¤¹ä¸ï¼å¨ä½ çæä»¶ä¸ï¼è¯·ä½¿ç¨ä»¥ä¸æ ·å¼å¼å ¥å¾çï¼</p> + +<div class="highlighter-rouge"><pre class="highlight"><code> +</code></pre> +</div> + +<h2 id="section-3">å¦ä½æ·»å è¿æ¥</h2> +<p>使ç¨ç«ç¹é¾æ¥çç¸å¯¹è·¯å¾ï¼ä¾å¦</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>[REST API](docs/development40/rest_api.html). +</code></pre> +</div> + +<h2 id="section-4">å¦ä½æ·»å 代ç é«äº®</h2> +<p>æä»¬ä½¿ç¨ <a href="https://github.com/jneen/rouge">Rouge</a> çªåºæ¾ç¤ºä»£ç è¯æ³ã<br /> +æ¥çæ¤ doc çæºä»£ç 以è·åæ´å¤è¯¦ç»ä¿¡æ¯ç¤ºä¾ã</p> + +<h2 id="section-5">å¦ä½å¨æ¬å°é¢è§</h2> +<p>æ¨å¯ä»¥å¨ markdown ç¼è¾å¨ä¸é¢è§ï¼è¦æ£æ¥ç½ç«ä¸çç¡®åå 容ï¼è¯·ä» <code class="highlighter-rouge">website</code> æä»¶å¤¹ä¸è¿è¡ Jekyllï¼</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>jekyll server +</code></pre> +</div> +<p>ç¶å卿µè§å¨ä¸è®¿é® http://127.0.0.1:4000ã</p> + +<h2 id="committer">å¦ä½åå¸å°ç½ç«ï¼åªéç¨äº committer)</h2> + +<h3 id="section-6">æå»º</h3> + +<ol> + <li><code class="highlighter-rouge">cd website</code></li> + <li><code class="highlighter-rouge">svn co https://svn.apache.org/repos/asf/kylin/site _site</code></li> +</ol> + +<p><strong>_site</strong> æä»¶å¤¹æ¯å·¥ä½ç®å½ï¼å°ç± maven æ git éæ¶å é¤ï¼è¯·ç¡®ä¿åªæå½ä½ æ³è¦åå¸å°ç½ç«æ¶ä» svn æ£åºã</p> + +<h3 id="section-7">æ¬å°è¿è¡</h3> +<p>å¨å建ä¸ä¸ª PR ææ¨éå° git ä»åºä¹åï¼æ¨å¯ä»¥éè¿ä»¥ä¸æ¹å¼å¨æ¬å°é¢è§æ´æ¹ï¼</p> + +<ol> + <li><code class="highlighter-rouge">cd website</code></li> + <li><code class="highlighter-rouge">jekyll s</code></li> + <li>卿¨çæµè§å¨æå¼ <a href="http://127.0.0.1:4000">http://127.0.0.1:4000</a></li> +</ol> + +<h3 id="section-8">æ¨å°ç½ç«</h3> + +<ol> + <li>æ·è´ jekyll çæç <code class="highlighter-rouge">_site</code> å° svn ç <code class="highlighter-rouge">website/_site</code></li> + <li><code class="highlighter-rouge">cd website/_site</code></li> + <li><code class="highlighter-rouge">svn status</code></li> + <li>æ¨éè¦ä½¿ç¨ <code class="highlighter-rouge">svn add</code> æ·»å ä»»ææ°çæä»¶</li> + <li><code class="highlighter-rouge">svn commit -m 'UPDATE MESSAGE'</code></li> +</ol> + +<p>å¨å åéå ï¼svnpubsub åºè¯¥å¼å§ä¸æ¨å°è½å¤å¨ <a href="http://kylin.apache.org/">http://kylin.apache.org</a> çå°ç»æã</p> + + + </article> + </div> + </div> + </div> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<div class="col-md-4 col-lg-4 col-xs-12 col-sm-12 aside1 visible-sm visible-xs visible-md visible-lg" id="nside1" style=" margin-top: 5em;float:right;"> + <ul class="nav nav-pills nav-stacked"> + + <li><a href="#titleå¼åæå" data-toggle="collapse" class="navtitle">å¼åæå</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li> + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/dev_env.html" class="list-group-item-lay pjaxlink">æå»ºå¼åç¯å¢</a></li> + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/coding_naming_convention.html" class="list-group-item-lay pjaxlink">ç¼ç åå½åæ¯ä¾</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">å¦ä½æä¸º Apache Committer</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/doc_spec.html" class="list-group-item-lay pjaxlink">Kylin ææ¡£æ°åè§è</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å </a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/plugin_arch.html" class="list-group-item-lay pjaxlink">æä»¶æ¶æ</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/web_tech.html" class="list-group-item-lay pjaxlink">Kylin Web æè¦</a></li> + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/about_temp_files.html" class="list-group-item-lay pjaxlink">å ³äºä¸´æ¶æä»¶</a></li> + + + + + + + <ul> + </div> +</div> + + + </ul> +</div> + </div> + </div> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<footer id="underfooter"> + <div> + <div class="row"> + <div class="col-md-12 widget"> + <div class="widget-body"> + <div class="footer-img"> + <a href="http://www.apache.org"> + <img id="asf-logo" height="78px" alt="Apache Software Foundation" src="/assets/images/apache_footer.png"> + </a> + </div> + <p style="padding-top: 11px;"> + The contents of this website are © 2015 Apache Software Foundation under the terms of the + <a href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>. + </p> + <p style="margin-bottom: 11px;"> + Apache Kylin and its logo are trademarks of the Apache Software Foundation. + </div> + + </div> + </div> + </div> + <!-- /row of widgets --> + + </div> + <div></div> + +</footer> + + <script src="/assets/js/jquery-1.9.1.min.js"></script> + <script src="/assets/js/bootstrap.min.js"></script> + <script src="/assets/js/main.js"></script> + </body> +</html> Added: kylin/site/cn/development40/howto_package.html URL: http://svn.apache.org/viewvc/kylin/site/cn/development40/howto_package.html?rev=1891303&view=auto ============================================================================== --- kylin/site/cn/development40/howto_package.html (added) +++ kylin/site/cn/development40/howto_package.html Tue Jul 6 07:50:56 2021 @@ -0,0 +1,877 @@ +<!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<!doctype html> +<html> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>Apache Kylin | å¦ä½æäºè¿å¶å </title> + <meta name="description" content="Apache Kylin Home"> + <meta name="author" content="Apache Kylin"> + <link rel="shortcut icon" href="fav.png" type="image/png"> + + + +<link rel="stylesheet" href="/assets/css/animate.css"> +<!-- Bootstrap --> +<link rel="stylesheet" href="/assets/css/bootstrap.min.css"> + +<!-- Fonts --> +<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> --> + +<!-- Icons --> +<link rel="stylesheet" href="/assets/css/font-awesome.min.css"> + + <!-- Custom styles --> + <link rel="stylesheet" href="/assets/css/styles.css"> + <link rel="stylesheet" href="/assets/css/docs.css"> + + <link rel="canonical" href="http://kylin.apache.org/cn/development40/howto_package.html"> + <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" /> + +<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]--> +<!-- Global site tag (gtag.js) - Google Analytics --> +<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120788561-1"></script> +<script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'UA-120788561-1'); +</script> +<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script> +<script type="text/javascript" src="/assets/js/nside.js"></script> </script> +<script type="text/javascript" src="/assets/js/nnav.js"></script> </script> +<script> +var _hmt = _hmt || []; +(function() { + var hm = document.createElement("script"); + hm.src = "https://hm.baidu.com/hm.js?bdc5e03add430c0b72cc0eb91eabfa99"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); +})(); +</script> +</head> + + <body> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<header id="header" > + <!-- Main Menu --> + <nav class="navbar navbar-default" role="navigation" id="nav-wrapper"> + <div class="container-fluid" id="nav"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <img class="navbar-logo" width="46" src="/assets/images/kylin_logo.png "></img> + + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <ul class="nav icon-navbar"> + <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li> + <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li> + <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li> + </ul> + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="navbar-collapse collapse" id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav"> + <li><a href="/cn">é¦é¡µ</a></li> + <li><a href="/cn/docs" >ææ¡£</a></li> + <li><a href="/cn/download">ä¸è½½</a></li> + <li><a href="/cn/community" >社åº</a></li> + <li><a href="/cn/development" >å¼å</a></li> + <li><a href="/cn/blog">å客</a></li> + <li><a href="/" >English</a></li> + </ul> + + + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> + </nav> + + <div id="head" class="parallax normal-header" > + <div class="text-center header-apache"> + <a href="http://apache.org/foundation/contributing.html" title="Support Apache" style="margin-left: 150px;"> + <div> + <img src="https://www.apache.org/images/SupportApache-small.png"> + </div> + </a> + </div> + </div> + + </header> + + + <div class="container"> + <div class="row" style="clear:both;"> + + <div class="col-md-8 col-lg-8 col-xs-12 col-sm-12 aside2" style="float: right;"> + <div id="container" class="docs"> + <div id="pjax"> + <h1 class="post-title">å¦ä½æäºè¿å¶å </h1> + <article class="post-content" > + <h3 id="section">çæäºè¿å¶å </h3> +<p>æ¬ææ¡£è®²è¿°çæ¯å¦ä½ä»æºç æå»º Kylin4 çäºè¿å¶å </p> + +<h4 id="section-1">ä¸è½½æºç </h4> +<p>æ¨å¯ä»¥ä» github ä»åºä¸è½½ Apache Kylin æºç ã</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>git clone https://github.com/apache/kylin kylin +</code></pre> +</div> + +<h4 id="section-2">æå»ºäºè¿å¶å </h4> + +<p>为äºçæäºè¿å¶å ï¼éè¦é¢å åå¤å¥½ <strong>maven</strong> å <strong>npm</strong>ã</p> + +<p><strong>(å¯é)</strong> 妿æ¨å¨ä»£çæå¡å¨åé¢ï¼å¨è¿è¡ ./script/package.sh ä¹åï¼éè¦å°ä»£çä¿¡æ¯åç¥ npm å bowerï¼</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>export http_proxy=http://your-proxy-host:port +npm config set proxy http://your-proxy-host:port +</code></pre> +</div> + +<h5 id="section-3">è¿è¡æå å½ä»¤</h5> +<div class="highlighter-rouge"><pre class="highlight"><code>cd kylin +build/script/package.sh +</code></pre> +</div> + + </article> + </div> + </div> + </div> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<div class="col-md-4 col-lg-4 col-xs-12 col-sm-12 aside1 visible-sm visible-xs visible-md visible-lg" id="nside1" style=" margin-top: 5em;float:right;"> + <ul class="nav nav-pills nav-stacked"> + + <li><a href="#titleå¼åæå" data-toggle="collapse" class="navtitle">å¼åæå</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li> + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/dev_env.html" class="list-group-item-lay pjaxlink">æå»ºå¼åç¯å¢</a></li> + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/coding_naming_convention.html" class="list-group-item-lay pjaxlink">ç¼ç åå½åæ¯ä¾</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">å¦ä½æä¸º Apache Committer</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/doc_spec.html" class="list-group-item-lay pjaxlink">Kylin ææ¡£æ°åè§è</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å </a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/plugin_arch.html" class="list-group-item-lay pjaxlink">æä»¶æ¶æ</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/web_tech.html" class="list-group-item-lay pjaxlink">Kylin Web æè¦</a></li> + + + + + + + + + + + + + + + <li class="navlist"> + <a href="/cn/development40/about_temp_files.html" class="list-group-item-lay pjaxlink">å ³äºä¸´æ¶æä»¶</a></li> + + + + + + + <ul> + </div> +</div> + + + </ul> +</div> + </div> + </div> + <!-- +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<footer id="underfooter"> + <div> + <div class="row"> + <div class="col-md-12 widget"> + <div class="widget-body"> + <div class="footer-img"> + <a href="http://www.apache.org"> + <img id="asf-logo" height="78px" alt="Apache Software Foundation" src="/assets/images/apache_footer.png"> + </a> + </div> + <p style="padding-top: 11px;"> + The contents of this website are © 2015 Apache Software Foundation under the terms of the + <a href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>. + </p> + <p style="margin-bottom: 11px;"> + Apache Kylin and its logo are trademarks of the Apache Software Foundation. + </div> + + </div> + </div> + </div> + <!-- /row of widgets --> + + </div> + <div></div> + +</footer> + + <script src="/assets/js/jquery-1.9.1.min.js"></script> + <script src="/assets/js/bootstrap.min.js"></script> + <script src="/assets/js/main.js"></script> + </body> +</html>