You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by lu...@apache.org on 2015/07/15 08:44:49 UTC
[41/43] incubator-kylin git commit: KYLIN-884 re-structure website,
using new menu, move to root dir
KYLIN-884 re-structure website, using new menu, move to root dir
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/b37a7809
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/b37a7809
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/b37a7809
Branch: refs/heads/0.7-staging
Commit: b37a7809efcaa0403c24677a82163d005d06be96
Parents: ef56d6b
Author: Luke Han <lu...@apache.org>
Authored: Wed Jul 15 13:07:00 2015 +0800
Committer: Luke Han <lu...@apache.org>
Committed: Wed Jul 15 13:07:00 2015 +0800
----------------------------------------------------------------------
website/.gitignore | 4 +
website/BingSiteAuth.xml | 18 +
website/CNAME | 1 +
website/LICENSE | 202 +
website/README.md | 47 +
website/_config.yml | 55 +
website/_data/docs-cn.yml | 18 +
website/_data/docs.yml | 43 +
.../development/Build Cube with Restful API.md | 51 +
...w to consume Kylin REST API in javascript.md | 42 +
.../_docs/development/Kylin Restful API List.md | 2020 +++++++
...n Kylin test case with HBase Mini Cluster.md | 15 +
website/_docs/development/build_cube_rest.md | 55 +
website/_docs/development/metadata_store.md | 45 +
website/_docs/development/new_metadata.md | 29 +
website/_docs/development/rest_api.md | 2040 +++++++
website/_docs/development/test_minicluster.md | 21 +
website/_docs/development/web_tech.md | 45 +
.../gettingstarted/Apache Kylin 2014 Dec.pdf | Bin 0 -> 2043052 bytes
.../gettingstarted/Design Cube in Kylin.pdf | Bin 0 -> 339155 bytes
.../What-should-I-use-Kylin-for.md | 55 +
website/_docs/gettingstarted/events.md | 25 +
website/_docs/gettingstarted/faq.md | 55 +
website/_docs/gettingstarted/terminology.md | 15 +
...w to install kylin in your Hadoop cluster.md | 53 +
website/_docs/howto/howto_backup.md | 24 +
website/_docs/howto/howto_contribute.md | 20 +
website/_docs/howto/howto_javascript.md | 48 +
website/_docs/howto/howto_jdbc.md | 92 +
website/_docs/howto/howto_package.md | 6 +
website/_docs/howto/howto_release.md | 449 ++
website/_docs/howto/howto_upgrade.md | 48 +
website/_docs/index.cn.md | 54 +
website/_docs/index.md | 55 +
.../Advance-settings-of-Kylin-environment.md | 36 +
...f-Hadoop-CLI-Installation-(Dev-Env-Setup).md | 94 +
...On-Hadoop-Kylin-installation-using-Docker.md | 42 +
website/_docs/install/hadoop_evn.md | 37 +
website/_docs/install/index.md | 48 +
website/_docs/install/kylin_cluster.md | 20 +
.../_docs/install/manual_install_guide.cn.md | 61 +
website/_docs/install/manual_install_guide.md | 61 +
website/_docs/tech/Class_Diagram.png | Bin 0 -> 36391 bytes
website/_docs/tech/Design.md | 37 +
.../_docs/tech/Kylin 0.7 Lambda Architecture.md | 12 +
.../tech/Kylin_0.7_Lambda_Architecture.png | Bin 0 -> 48256 bytes
.../_docs/tech/New meta data model structure.md | 18 +
website/_docs/tutorial/acl.cn.md | 31 +
website/_docs/tutorial/acl.md | 31 +
website/_docs/tutorial/create_cube.cn.md | 126 +
website/_docs/tutorial/create_cube.md | 126 +
website/_docs/tutorial/cube_build_job.cn.md | 64 +
website/_docs/tutorial/cube_build_job.md | 64 +
website/_docs/tutorial/odbc.cn.md | 31 +
website/_docs/tutorial/odbc.md | 33 +
website/_docs/tutorial/tableau.cn.md | 109 +
website/_docs/tutorial/tableau.md | 112 +
website/_docs/tutorial/web.cn.md | 137 +
website/_docs/tutorial/web.md | 137 +
website/_includes/docs_nav.cn.html | 33 +
website/_includes/docs_nav.html | 33 +
website/_includes/docs_ul.cn.html | 28 +
website/_includes/docs_ul.html | 29 +
website/_includes/footer.html | 37 +
website/_includes/head.cn.html | 69 +
website/_includes/head.html | 69 +
website/_includes/header.cn.html | 58 +
website/_includes/header.html | 61 +
website/_includes/navside.cn.html | 112 +
website/_includes/navside.html | 90 +
website/_layouts/blog.html | 45 +
website/_layouts/default-cn.html | 41 +
website/_layouts/default.html | 41 +
website/_layouts/docs-cn.html | 44 +
website/_layouts/docs.html | 45 +
website/_layouts/download-cn.html | 53 +
website/_layouts/download.html | 53 +
website/_layouts/page.html | 33 +
website/_layouts/post-blog.html | 38 +
website/_layouts/post-cn.html | 38 +
website/_layouts/post.html | 38 +
.../blog/2015-01-25-introduce-data-model.md | 40 +
.../2015-06-10-release-v0.7.1-incubating.md | 149 +
website/_sass/_base.scss | 221 +
website/_sass/_layout.scss | 253 +
website/_sass/_syntax-highlighting.scss | 84 +
website/about/index.md | 35 +
website/assets/css/animate.css | 2761 ++++++++++
website/assets/css/bootstrap.min.css | 5083 ++++++++++++++++++
website/assets/css/docs.css | 126 +
website/assets/css/font-awesome.min.css | 4 +
website/assets/css/pygments.css | 61 +
website/assets/css/styles.css | 669 +++
website/assets/fonts/FontAwesome.otf | Bin 0 -> 85908 bytes
website/assets/fonts/fontawesome-webfont.eot | Bin 0 -> 56006 bytes
website/assets/fonts/fontawesome-webfont.svg | 537 ++
website/assets/fonts/fontawesome-webfont.ttf | Bin 0 -> 112160 bytes
website/assets/fonts/fontawesome-webfont.woff | Bin 0 -> 65452 bytes
website/assets/fonts/helveticaneue-webfont.css | 25 +
website/assets/fonts/helveticaneue-webfont.eot | Bin 0 -> 50668 bytes
website/assets/fonts/helveticaneue-webfont.svg | 710 +++
website/assets/fonts/helveticaneue-webfont.ttf | Bin 0 -> 50456 bytes
website/assets/fonts/helveticaneue-webfont.woff | Bin 0 -> 26140 bytes
website/assets/fonts/helveticaneue_lt.css | 25 +
website/assets/fonts/helveticaneue_lt.eot | Bin 0 -> 35346 bytes
website/assets/fonts/helveticaneue_lt.svg | 590 ++
website/assets/fonts/helveticaneue_lt.ttf | Bin 0 -> 35092 bytes
website/assets/fonts/helveticaneue_lt.woff | Bin 0 -> 18208 bytes
website/assets/fonts/opensans-light-webfont.eot | Bin 0 -> 20556 bytes
website/assets/fonts/opensans-light-webfont.svg | 1841 +++++++
website/assets/fonts/opensans-light-webfont.ttf | Bin 0 -> 44484 bytes
.../assets/fonts/opensans-light-webfont.woff | Bin 0 -> 24100 bytes
.../assets/fonts/opensans-regular-webfont.eot | Bin 0 -> 21103 bytes
.../assets/fonts/opensans-regular-webfont.svg | 1841 +++++++
.../assets/fonts/opensans-regular-webfont.ttf | Bin 0 -> 45112 bytes
.../assets/fonts/opensans-regular-webfont.woff | Bin 0 -> 24736 bytes
website/assets/images/core.png | Bin 0 -> 70377 bytes
website/assets/images/data.png | Bin 0 -> 913990 bytes
website/assets/images/kylin_diagram.png | Bin 0 -> 441427 bytes
website/assets/images/kylin_logo.jpg | Bin 0 -> 120174 bytes
website/assets/js/bootstrap.min.js | 6 +
website/assets/js/jquery-1.9.1.min.js | 5 +
website/assets/js/main.js | 74 +
website/assets/js/nnav.js | 16 +
website/assets/js/nside.js | 13 +
website/blog/index.md | 45 +
website/community/index.html~ | 83 +
website/community/index.md | 64 +
website/css/main.scss | 69 +
website/download/index.cn.md | 42 +
website/download/index.md | 44 +
website/fav.png | Bin 0 -> 9450 bytes
website/favicon.ico | Bin 0 -> 1150 bytes
website/feed.xml | 44 +
website/google0f781a4ad9402c21.html | 19 +
.../1 action-build.png | Bin 0 -> 93893 bytes
.../2 pop-up.png | Bin 0 -> 40055 bytes
.../3 end-date.png | Bin 0 -> 66610 bytes
.../4 submit.png | Bin 0 -> 36292 bytes
.../4.1 success.png | Bin 0 -> 14426 bytes
.../5 jobs-page.png | Bin 0 -> 96398 bytes
.../6 discard.png | Bin 0 -> 55747 bytes
.../7 job-steps.png | Bin 0 -> 157315 bytes
.../8 hover-step.png | Bin 0 -> 90405 bytes
.../9 log-d.png | Bin 0 -> 85634 bytes
.../9 log.png | Bin 0 -> 42840 bytes
.../9 mrjob-d.png | Bin 0 -> 197651 bytes
.../9 mrjob.png | Bin 0 -> 43079 bytes
.../9 parameters-d.png | Bin 0 -> 102501 bytes
.../9 parameters.png | Bin 0 -> 43674 bytes
.../1 manage-prject.png | Bin 0 -> 44662 bytes
.../Kylin-Cube-Creation-Tutorial/10 filter.png | Bin 0 -> 71620 bytes
.../11 refresh-setting1.png | Bin 0 -> 125565 bytes
.../11 refresh-setting2.png | Bin 0 -> 94895 bytes
.../12 advanced.png | Bin 0 -> 63237 bytes
.../13 overview.png | Bin 0 -> 59024 bytes
.../Kylin-Cube-Creation-Tutorial/2 +project.png | Bin 0 -> 57637 bytes
.../3 new-project.png | Bin 0 -> 35511 bytes
.../3.1 pj-created.png | Bin 0 -> 13207 bytes
.../Kylin-Cube-Creation-Tutorial/4 +table.png | Bin 0 -> 58675 bytes
.../5 hive-table.png | Bin 0 -> 29548 bytes
.../Kylin-Cube-Creation-Tutorial/6 +cube.png | Bin 0 -> 79558 bytes
.../7 cube-info.png | Bin 0 -> 159724 bytes
.../Kylin-Cube-Creation-Tutorial/8 dim-+dim.png | Bin 0 -> 56207 bytes
.../Kylin-Cube-Creation-Tutorial/8 dim-edit.png | Bin 0 -> 95337 bytes
.../8 dim-factable.png | Bin 0 -> 68022 bytes
.../8 dim-typeA.png | Bin 0 -> 61561 bytes
.../8 dim-typeB-1.png | Bin 0 -> 54939 bytes
.../8 dim-typeB-2.png | Bin 0 -> 50999 bytes
.../8 dim-typeC.png | Bin 0 -> 62033 bytes
.../8 dim-typeD.png | Bin 0 -> 54444 bytes
.../9 meas-+meas.png | Bin 0 -> 49541 bytes
.../9 meas-count.png | Bin 0 -> 49857 bytes
.../9 meas-distinct.png | Bin 0 -> 57420 bytes
.../Kylin-Cube-Creation-Tutorial/9 meas-max.png | Bin 0 -> 51820 bytes
.../Kylin-Cube-Creation-Tutorial/9 meas-min.png | Bin 0 -> 47379 bytes
.../Kylin-Cube-Creation-Tutorial/9 meas-sum.png | Bin 0 -> 44017 bytes
.../14 +grant.png | Bin 0 -> 96078 bytes
.../15 grantInfo.png | Bin 0 -> 131013 bytes
.../16 grant-user.png | Bin 0 -> 70868 bytes
.../16 user-update.png | Bin 0 -> 74230 bytes
website/images/Kylin-Web-Tutorial/1 login.png | Bin 0 -> 19030 bytes
.../Kylin-Web-Tutorial/10 query-result.png | Bin 0 -> 229099 bytes
.../Kylin-Web-Tutorial/11 save-query-2.png | Bin 0 -> 217907 bytes
.../images/Kylin-Web-Tutorial/11 save-query.png | Bin 0 -> 29373 bytes
.../images/Kylin-Web-Tutorial/12 general.png | Bin 0 -> 32194 bytes
.../images/Kylin-Web-Tutorial/13 results.png | Bin 0 -> 77124 bytes
website/images/Kylin-Web-Tutorial/14 drag.png | Bin 0 -> 81057 bytes
.../images/Kylin-Web-Tutorial/15 bar-chart.png | Bin 0 -> 79660 bytes
.../images/Kylin-Web-Tutorial/16 pie-chart.png | Bin 0 -> 91917 bytes
.../images/Kylin-Web-Tutorial/17 line-chart.png | Bin 0 -> 83227 bytes
website/images/Kylin-Web-Tutorial/2 tables.png | Bin 0 -> 131629 bytes
website/images/Kylin-Web-Tutorial/3 cubes.png | Bin 0 -> 106631 bytes
.../images/Kylin-Web-Tutorial/4 form-view.png | Bin 0 -> 106172 bytes
.../images/Kylin-Web-Tutorial/5 sql-view.png | Bin 0 -> 111612 bytes
.../Kylin-Web-Tutorial/6 visualization.png | Bin 0 -> 73256 bytes
website/images/Kylin-Web-Tutorial/7 access.png | Bin 0 -> 63248 bytes
.../images/Kylin-Web-Tutorial/7 job-steps.png | Bin 0 -> 157315 bytes
website/images/Kylin-Web-Tutorial/8 query.png | Bin 0 -> 86323 bytes
.../images/Kylin-Web-Tutorial/9 query-table.png | Bin 0 -> 106686 bytes
.../Kylin-and-Tableau-Tutorial/1 odbc.png | Bin 0 -> 77143 bytes
.../10 connectLive.jpg | Bin 0 -> 36887 bytes
.../Kylin-and-Tableau-Tutorial/11 analysis.jpg | Bin 0 -> 109334 bytes
.../12 edit tables.jpg | Bin 0 -> 87229 bytes
.../Kylin-and-Tableau-Tutorial/13 visual.jpg | Bin 0 -> 170415 bytes
.../Kylin-and-Tableau-Tutorial/14 publish.jpg | Bin 0 -> 93989 bytes
.../16 prepare-publish.png | Bin 0 -> 19791 bytes
.../17 embedded-pwd.png | Bin 0 -> 12464 bytes
.../18 groupby-folder.jpg | Bin 0 -> 112470 bytes
.../Kylin-and-Tableau-Tutorial/19 custom.jpg | Bin 0 -> 57976 bytes
.../Kylin-and-Tableau-Tutorial/2 serverhost.jpg | Bin 0 -> 50146 bytes
.../Kylin-and-Tableau-Tutorial/3 project.jpg | Bin 0 -> 50594 bytes
.../Kylin-and-Tableau-Tutorial/4 done.jpg | Bin 0 -> 48155 bytes
.../5 multipleTable.jpg | Bin 0 -> 65831 bytes
.../Kylin-and-Tableau-Tutorial/6 facttable.jpg | Bin 0 -> 58203 bytes
.../Kylin-and-Tableau-Tutorial/6 facttable2.jpg | Bin 0 -> 58269 bytes
.../Kylin-and-Tableau-Tutorial/7 lkptable.jpg | Bin 0 -> 61669 bytes
.../Kylin-and-Tableau-Tutorial/8 join.jpg | Bin 0 -> 67952 bytes
.../Kylin-and-Tableau-Tutorial/9 connName.jpg | Bin 0 -> 82397 bytes
website/images/install/Picture1.png | Bin 0 -> 53722 bytes
website/images/install/Picture2.png | Bin 0 -> 72567 bytes
website/images/install/cube.png | Bin 0 -> 151306 bytes
website/images/install/installation.pptx | Bin 0 -> 83098 bytes
website/images/install/job.png | Bin 0 -> 226745 bytes
.../images/install/off_cli_install_scene.png | Bin 0 -> 72567 bytes
website/images/install/on_cli_install_scene.png | Bin 0 -> 53722 bytes
website/images/install/query.png | Bin 0 -> 112305 bytes
website/images/install/starthbase.png | Bin 0 -> 210066 bytes
website/index.cn.md | 91 +
website/index.md | 91 +
230 files changed, 24066 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b37a7809/website/.gitignore
----------------------------------------------------------------------
diff --git a/website/.gitignore b/website/.gitignore
new file mode 100644
index 0000000..ab40dbc
--- /dev/null
+++ b/website/.gitignore
@@ -0,0 +1,4 @@
+.DS_Store
+.sass-cache
+_site
+
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b37a7809/website/BingSiteAuth.xml
----------------------------------------------------------------------
diff --git a/website/BingSiteAuth.xml b/website/BingSiteAuth.xml
new file mode 100644
index 0000000..3997596
--- /dev/null
+++ b/website/BingSiteAuth.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<!--
+ Licensed 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. See accompanying LICENSE file.
+-->
+
+<users>
+ <user>403B76701CE9848BFBBE0912251DDAA9</user>
+</users>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b37a7809/website/CNAME
----------------------------------------------------------------------
diff --git a/website/CNAME b/website/CNAME
new file mode 100644
index 0000000..4470516
--- /dev/null
+++ b/website/CNAME
@@ -0,0 +1 @@
+www.kylin.io
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b37a7809/website/LICENSE
----------------------------------------------------------------------
diff --git a/website/LICENSE b/website/LICENSE
new file mode 100644
index 0000000..e06d208
--- /dev/null
+++ b/website/LICENSE
@@ -0,0 +1,202 @@
+Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright {yyyy} {name of copyright owner}
+
+ Licensed 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.
+
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b37a7809/website/README.md
----------------------------------------------------------------------
diff --git a/website/README.md b/website/README.md
new file mode 100644
index 0000000..b6e7a63
--- /dev/null
+++ b/website/README.md
@@ -0,0 +1,47 @@
+<!--
+{% comment %}
+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.
+{% endcomment %}
+-->
+
+# Apache Kylin website
+This directory contains the source code for the Apache Kylin (incubating) website:
+[http://kyin.incubator.apache.org](http://kylin.incubator.apache.org/).
+
+## Setup
+
+1. `cd docs/website`
+2. `svn co https://svn.apache.org/repos/asf/incubator/kylin/site _site`
+3. `sudo apt-get install rubygems ruby2.1-dev zlib1g-dev` (linux)
+4. `sudo gem install bundler github-pages jekyll`
+5. `bundle install`
+
+## Running locally
+Before opening a pull request or push to git repo, you can preview changes from your local box with following:
+
+1. `cd docs/website`
+2. `jekyll s`
+3. Open [http://localhost:4000](http://localhost:4000)
+
+## Pushing to site (for committer only)
+1. `cd docs/website/_site`
+2. `svn status`
+3. You'll need to `svn add` any new files
+4. `svn commit -m 'UPDATE MESSAGE'`
+
+Within a few minutes, svnpubsub should kick in and you'll be able to
+see the results at
+[http://kylin.incubator.apache.org](http://kylin.incubator.apache.org/).
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b37a7809/website/_config.yml
----------------------------------------------------------------------
diff --git a/website/_config.yml b/website/_config.yml
new file mode 100644
index 0000000..63448c5
--- /dev/null
+++ b/website/_config.yml
@@ -0,0 +1,55 @@
+#
+# 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.
+#
+
+# Site settings
+title: kylin.io
+email: dev@kylin.incubator.apache.org
+description: Apache Kylin Home
+baseurl: "" # the subpath of your site, e.g. /blog/
+url: "http://kylin.incubator.apache.org" # the base hostname & protocol for your site
+twitter_username: ApacheKylin
+
+encoding: UTF-8
+timezone: America/Dawson
+
+include: [_docs]
+
+# Build settings
+markdown: kramdown
+# Code highlight
+highlighter: pygments
+# Permalinks, default is pretty
+# permalink: /:categories/:title.html
+permalink: pretty
+
+google_analytics_id: UA-55534813-2
+
+# Multiple Languages Plugin
+gems: ['jekyll-multiple-languages']
+# Supported Languages
+languages: ['en','cn']
+language_default: 'en'
+
+# If a post of default language not set `no_fill_default_content` to true
+# Its content will use to replace if the corresponding content of other languages is not exist.
+# fill_default_content: true
+
+collections:
+ docs:
+ output: true
+ docs-cn:
+ output: true
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b37a7809/website/_data/docs-cn.yml
----------------------------------------------------------------------
diff --git a/website/_data/docs-cn.yml b/website/_data/docs-cn.yml
new file mode 100644
index 0000000..d1cd307
--- /dev/null
+++ b/website/_data/docs-cn.yml
@@ -0,0 +1,18 @@
+- title: 开始
+ docs:
+ - index
+
+- title: 安装
+ docs:
+ - install/install_guide
+ - install/manual_install_guide
+
+- title: 教程
+ docs:
+ - tutorial/create_cube_cn
+ - tutorial/cube_build_job
+ - tutorial/acl
+ - tutorial/web
+ - tutorial/tableau
+ - tutorial/odbc
+
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b37a7809/website/_data/docs.yml
----------------------------------------------------------------------
diff --git a/website/_data/docs.yml b/website/_data/docs.yml
new file mode 100644
index 0000000..050d485
--- /dev/null
+++ b/website/_data/docs.yml
@@ -0,0 +1,43 @@
+- title: Getting Started
+ docs:
+ - index
+ - gettingstarted/faq
+ - gettingstarted/events
+ - gettingstarted/terminology
+
+- title: Installation
+ docs:
+ - install/index
+ - install/manual_install_guide
+
+- title: Tutorial
+ docs:
+ - tutorial/create_cube
+ - tutorial/cube_build_job
+ - tutorial/acl
+ - tutorial/web
+ - tutorial/tableau
+ - tutorial/odbc
+
+- title: How To
+ docs:
+ - howto/howto_contribute
+ - howto/howto_jdbc
+ - howto/howto_javascript
+ - howto/howto_backup
+ - howto/howto_release
+
+- title: Development
+ docs:
+ - development/build_cube_rest
+ - development/metadata_store
+ - development/new_metadata
+ - development/rest_api
+ - development/test_minicluster
+ - development/web_tech
+
+
+- title: Meta
+ docs:
+ - contributing
+ - history
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b37a7809/website/_docs/development/Build Cube with Restful API.md
----------------------------------------------------------------------
diff --git a/website/_docs/development/Build Cube with Restful API.md b/website/_docs/development/Build Cube with Restful API.md
new file mode 100644
index 0000000..4eb5381
--- /dev/null
+++ b/website/_docs/development/Build Cube with Restful API.md
@@ -0,0 +1,51 @@
+
+### 1. Authentication
+* Currently, Kylin uses [basic authentication](http://en.wikipedia.org/wiki/Basic_access_authentication).
+* Add `Authorization` header to first request for authentication
+* Or you can do a specific request by `POST http://localhost:7070/kylin/api/user/authentication`
+* Once authenticated, client can go subsequent requests with cookies.
+* Example
+```
+ POST http://localhost:7070/kylin/api/user/authentication
+
+ Authorization:Basic xxxxJD124xxxGFxxxSDF
+ Content-Type: application/json;charset=UTF-8
+```
+
+### 2. Get details of cube.
+* `GET http://localhost:7070/kylin/api/cubes?cubeName={cube_name}&limit=15&offset=0`
+* Client can find cube segment date ranges in returned cube detail.
+* Example
+```
+ GET http://localhost:7070/kylin/api/cubes?cubeName=test_kylin_cube_with_slr&limit=15&offset=0
+
+ Authorization:Basic xxxxJD124xxxGFxxxSDF
+ Content-Type: application/json;charset=UTF-8
+```
+
+### 3. Then submit a build job of the cube.
+* `PUT http://localhost:7070/kylin/api/cubes/{cube_name}/rebuild`
+* For put request body detail please refer to [service doc](https://github.com/KylinOLAP/Kylin/wiki/Restful-Service-Doc).
+ * `startTime` and `endTime` should be utc timestamp.
+ * `buildType` can be `BUILD` or `MERGE`. `BUILD` is for building a new segment or refreshing an existing segment. `MERGE` is for merging multiple existing segments into one bigger segment.
+* This method will return a newly created job instance, in which the uuid is the identity of job to track job status.
+* Example
+```
+ PUT http://localhost:7070/kylin/api/cubes/test_kylin_cube_with_slr/rebuild
+
+ Authorization:Basic xxxxJD124xxxGFxxxSDF
+ Content-Type: application/json;charset=UTF-8
+
+ {
+ "startTime": 0,
+ "endTime": 1388563200000,
+ "buildType": "BUILD"
+ }
+```
+
+### 4. Track job status.
+* `GET http://localhost:7070/kylin/api/jobs/{job_uuid}`
+* Returned `job_status` represents current status of job.
+
+### 5. If the job failed, you can resume the job.
+* `PUT http://localhost:7070/kylin/api/jobs/{job_uuid}/resume`
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b37a7809/website/_docs/development/How to consume Kylin REST API in javascript.md
----------------------------------------------------------------------
diff --git a/website/_docs/development/How to consume Kylin REST API in javascript.md b/website/_docs/development/How to consume Kylin REST API in javascript.md
new file mode 100644
index 0000000..a0ea1b6
--- /dev/null
+++ b/website/_docs/development/How to consume Kylin REST API in javascript.md
@@ -0,0 +1,42 @@
+Kylin securicty authorization is based on basic access authorization, so when you want to use API in your javascript,you need to involve the authorization info in http headers.
+
+
+## Here is a demo show how to use Kylin Query API.
+```
+$.ajaxSetup({
+ headers: { 'Authorization': "Basic eWFu**********X***ZA==", 'Content-Type': 'application/json;charset=utf-8' } // use your own authorization code here
+ });
+ var request = $.ajax({
+ url: "http://hostname/kylin/api/query",
+ type: "POST",
+ data: '{"sql":"select count(*) from SUMMARY;","offset":0,"limit":50000,"partial":true,"project":"test"}',
+ dataType: "json"
+ });
+ request.done(function( msg ) {
+ alert(msg);
+ });
+ request.fail(function( jqXHR, textStatus ) {
+ alert( "Request failed: " + textStatus );
+ });
+
+```
+
+
+For what is basic access authorization ,click here http://en.wikipedia.org/wiki/Basic_access_authentication
+
+## Keypoint:
+1. add basic access authorization info in heders.
+2. use right ajax type and right data synax
+
+How to generate your authorization code (download and import "jquery.base64.js" from https://github.com/yckart/jquery.base64.js)
+
+```
+var authorizationCode = $.base64('encode', 'NT_USERNAME' + ":" + 'NT_PASSWORD');
+
+$.ajaxSetup({
+ headers: {
+ 'Authorization': "Basic " + authorizationCode,
+ 'Content-Type': 'application/json;charset=utf-8'
+ }
+});
+```
\ No newline at end of file