zeppelin/docs/install/virtual_machine.md

193 lines
8.1 KiB
Markdown
Raw Normal View History

Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
---
layout: page
[ZEPPELIN-1219] Add searching feature to Zeppelin docs site ### What is this PR for? As more and more document pages are added, it's really hard to find specific pages. So I added searching feature to Zeppelin documentation site([jekyll](https://jekyllrb.com/) based site) using [lunr.js](http://lunrjs.com/). - **How does it work?** I created [`search_data.json`](https://github.com/AhyoungRyu/zeppelin/blob/6e02423f541cc406e4e41031629609a276a9f481/docs/search_data.json) which is used for docs info template. `lunr.js` combines all of the text from all of the docs in `docs/` into `_site/search_data.json`. It looks like below. ![screen shot 2016-08-03 at 4 49 59 am](https://cloud.githubusercontent.com/assets/10060731/17342828/f2908be8-5935-11e6-8eee-b189677c0531.png) All the info are comes from [Jekyll YAML front matter](https://jekyllrb.com/docs/frontmatter/) variables. (i.e. title, group, description.. that's why I rewrote all docs' title and description.) [search.js](https://github.com/AhyoungRyu/zeppelin/blob/6e02423f541cc406e4e41031629609a276a9f481/docs/assets/themes/zeppelin/js/search.js) will do this job using this data! ### What type of PR is it? Improvement & Feature ### Todos * [x] - Keep consistency for all docs pages' `Title` * [x] - Add some overview sentences to all docs pages' `Description` section (this will be used as the result preview) * [x] - Add apache license header to all docs page (some pages are missing the license header currently) * [x] - Add LICENSE for `lunr.min.js` ### What is the Jira issue? [ZEPPELIN-1219](https://issues.apache.org/jira/browse/ZEPPELIN-1219) ### How should this be tested? 1. Apply this patch and build `ZEPPELIN_HOME/docs` dir -> please see [docs/README.md#build-documentation](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Click `search` icon in navbar and go to `search.html` page 3. Type anything you want to search in the search bar (i.e. type `python`, `spark`, `dynamic` ... ) ### Screenshots (if appropriate) ![screen shot 2016-08-03 at 4 42 28 pm](https://cloud.githubusercontent.com/assets/10060731/17357851/d092e2ca-5999-11e6-9917-a3d4113e6e43.png) ![search](https://cloud.githubusercontent.com/assets/10060731/17357828/b2486cd6-5999-11e6-873b-121fac033b03.gif) ### Questions: * Does the licenses files need update? Yes, for `lunr.min.js` * Is there breaking changes for older versions? no * Does this needs documentation? no Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1266 from AhyoungRyu/ZEPPELIN-1219 and squashes the following commits: 7ec8854 [AhyoungRyu] Modify 'no result' sentence 91b71a7 [AhyoungRyu] Remove Apache license header since JSON doesn't allow comment 34afd5d [AhyoungRyu] Add Apache license header to search_data.json 6784282 [AhyoungRyu] Minor search page UI update 0389d28 [AhyoungRyu] Make index.md not to be searched 9f1ba42 [AhyoungRyu] Disable enterkey press & change icon bd4956a [AhyoungRyu] Add docs.js & search.js to exclude list in pom.xml 624b051 [AhyoungRyu] Add Apache license header to search.js 1381152 [AhyoungRyu] Fix search result skipping issue 6e775f5 [AhyoungRyu] Make pleasecontribute.md not to be searched ee11136 [AhyoungRyu] Fix some typos fa01299 [AhyoungRyu] Refine 'description' in some docs as @bzz suggested da0cff9 [AhyoungRyu] Exclude lunr.min.js 36ba7f1 [AhyoungRyu] Add lunr.min.js license info f6a05a6 [AhyoungRyu] Apply css style for the search results 68eb997 [AhyoungRyu] Attach 'Apache Zeppelin ZEPPELIN_VERSION Documentation: ' to title d908c37 [AhyoungRyu] Add searching page a951fa6 [AhyoungRyu] Add search icon to navbar 0688a79 [AhyoungRyu] Keep consistency all docs' front matter for the right search result 040f532 [AhyoungRyu] Add template for storing docs info based on jekyll front matter 0705bd6 [AhyoungRyu] Add js files: lunr.min.js & search.js
2016-08-06 05:50:25 +00:00
title: "Apache Zeppelin on Vagrant Virtual Machine"
description: "Apache Zeppelin provides a script for running a virtual machine for development through Vagrant. The script will create a virtual machine with core dependencies pre-installed, required for developing Apache Zeppelin."
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
group: install
---
<!--
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.
-->
{% include JB/setup %}
[ZEPPELIN-1219] Add searching feature to Zeppelin docs site ### What is this PR for? As more and more document pages are added, it's really hard to find specific pages. So I added searching feature to Zeppelin documentation site([jekyll](https://jekyllrb.com/) based site) using [lunr.js](http://lunrjs.com/). - **How does it work?** I created [`search_data.json`](https://github.com/AhyoungRyu/zeppelin/blob/6e02423f541cc406e4e41031629609a276a9f481/docs/search_data.json) which is used for docs info template. `lunr.js` combines all of the text from all of the docs in `docs/` into `_site/search_data.json`. It looks like below. ![screen shot 2016-08-03 at 4 49 59 am](https://cloud.githubusercontent.com/assets/10060731/17342828/f2908be8-5935-11e6-8eee-b189677c0531.png) All the info are comes from [Jekyll YAML front matter](https://jekyllrb.com/docs/frontmatter/) variables. (i.e. title, group, description.. that's why I rewrote all docs' title and description.) [search.js](https://github.com/AhyoungRyu/zeppelin/blob/6e02423f541cc406e4e41031629609a276a9f481/docs/assets/themes/zeppelin/js/search.js) will do this job using this data! ### What type of PR is it? Improvement & Feature ### Todos * [x] - Keep consistency for all docs pages' `Title` * [x] - Add some overview sentences to all docs pages' `Description` section (this will be used as the result preview) * [x] - Add apache license header to all docs page (some pages are missing the license header currently) * [x] - Add LICENSE for `lunr.min.js` ### What is the Jira issue? [ZEPPELIN-1219](https://issues.apache.org/jira/browse/ZEPPELIN-1219) ### How should this be tested? 1. Apply this patch and build `ZEPPELIN_HOME/docs` dir -> please see [docs/README.md#build-documentation](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Click `search` icon in navbar and go to `search.html` page 3. Type anything you want to search in the search bar (i.e. type `python`, `spark`, `dynamic` ... ) ### Screenshots (if appropriate) ![screen shot 2016-08-03 at 4 42 28 pm](https://cloud.githubusercontent.com/assets/10060731/17357851/d092e2ca-5999-11e6-9917-a3d4113e6e43.png) ![search](https://cloud.githubusercontent.com/assets/10060731/17357828/b2486cd6-5999-11e6-873b-121fac033b03.gif) ### Questions: * Does the licenses files need update? Yes, for `lunr.min.js` * Is there breaking changes for older versions? no * Does this needs documentation? no Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1266 from AhyoungRyu/ZEPPELIN-1219 and squashes the following commits: 7ec8854 [AhyoungRyu] Modify 'no result' sentence 91b71a7 [AhyoungRyu] Remove Apache license header since JSON doesn't allow comment 34afd5d [AhyoungRyu] Add Apache license header to search_data.json 6784282 [AhyoungRyu] Minor search page UI update 0389d28 [AhyoungRyu] Make index.md not to be searched 9f1ba42 [AhyoungRyu] Disable enterkey press & change icon bd4956a [AhyoungRyu] Add docs.js & search.js to exclude list in pom.xml 624b051 [AhyoungRyu] Add Apache license header to search.js 1381152 [AhyoungRyu] Fix search result skipping issue 6e775f5 [AhyoungRyu] Make pleasecontribute.md not to be searched ee11136 [AhyoungRyu] Fix some typos fa01299 [AhyoungRyu] Refine 'description' in some docs as @bzz suggested da0cff9 [AhyoungRyu] Exclude lunr.min.js 36ba7f1 [AhyoungRyu] Add lunr.min.js license info f6a05a6 [AhyoungRyu] Apply css style for the search results 68eb997 [AhyoungRyu] Attach 'Apache Zeppelin ZEPPELIN_VERSION Documentation: ' to title d908c37 [AhyoungRyu] Add searching page a951fa6 [AhyoungRyu] Add search icon to navbar 0688a79 [AhyoungRyu] Keep consistency all docs' front matter for the right search result 040f532 [AhyoungRyu] Add template for storing docs info based on jekyll front matter 0705bd6 [AhyoungRyu] Add js files: lunr.min.js & search.js
2016-08-06 05:50:25 +00:00
# Apache Zeppelin on Vagrant Virtual Machine
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
[ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website ### What is this PR for? I added auto TOC(Table of Contents) generator for Zeppelin documentation website. TOC can help people looking through whole contents at a glance and finding what they want quickly. I just added `<div id="toc"></div>` to the each documentation header. [`toc`](https://github.com/apache/zeppelin/compare/master...AhyoungRyu:ZEPPELIN-1018?expand=1#diff-85af09fb498a5667ea455391533f945dR3) recognize `<h2>` & `<h3>` as a title in the docs and it automatically generate TOC. So I set a rule for this work. (I'll write this rule on `docs/CONTRIBUTING.md` or [docs/howtocontributewebsite](https://zeppelin.apache.org/docs/0.6.0-SNAPSHOT/development/howtocontributewebsite.html)). ``` # Level-1 Heading <- Use only for the main title of the page ## Level-2 Heading <- Start with this one ### Level-3 heading <- Only use this one for child of Level-2 toc only recognize Level-2 & Level-3 ``` Please see the below attached screenshot image. ### What type of PR is it? Improvement & Documentation ### Todos * [x] - Add TOC generator * [x] - Apply TOC(`<div id="toc"></div>`) to every documentation and reorganize each headers(apply the above rule) * [x] - Fix some broken code block in several docs * [x] - Apply TOC to `r.md` (Currently R docs has some duplicated info since [this one](https://github.com/apache/zeppelin/commit/d5e87fb8ba98f08db5b0a4995104ce19f182c678) and [this one](https://github.com/apache/zeppelin/commit/7d6cc7e99154e2d337c11fdf8be1a874ed3e9ada) ) * [x] - Apply TOC to `install.md` after #1010 merged * [x] - Apply TOC to `interpreterinstallation.md` after #1042 merged ### What is the Jira issue? [ZEPPELIN-1018](https://issues.apache.org/jira/browse/ZEPPELIN-1018) ### How should this be tested? 1. Apply this patch and build `docs/` with [this guide](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Visit some docs page. Then you can see TOC in the header of page. ### Screenshots (if appropriate) - Automatically generated TOC in Spark interpreter docs page <img width="831" alt="screen shot 2016-06-16 at 9 37 18 pm" src="https://cloud.githubusercontent.com/assets/10060731/16140902/945b9c7a-340a-11e6-91f3-b6174738bed0.png"> ### Questions: * Does the licenses files need update? No. Actually I used [jekyll-table-of-contents#copyright](https://github.com/ghiculescu/jekyll-table-of-contents#copyright). But I don't need to add a license for this :) * Is there breaking changes for older versions? No * Does this needs documentation? Maybe Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1031 from AhyoungRyu/ZEPPELIN-1018 and squashes the following commits: e66397b [AhyoungRyu] Apply TOC to interpreterinstallation.md 009579b [AhyoungRyu] Add more info to 'What is the next?' in install.md 04cf501 [AhyoungRyu] Revert 'where to start' section b7cbe5f [AhyoungRyu] Fix typo cf0911c [AhyoungRyu] Rename license file 388f35a [AhyoungRyu] Add jekyll-table-of-contents license info 6394c70 [AhyoungRyu] Fix image path in python.md d00e4b1 [AhyoungRyu] Move interpreter/screenshot/ -> asset/../img/docs-img/ 3ffb383 [AhyoungRyu] Remove duplicated info in r.md & apply toc a03ca99 [AhyoungRyu] Exclude toc.js from pom.xml 3fae7df [AhyoungRyu] Apply auto generated toc to install.md d114a9d [AhyoungRyu] Address @felixcheung feedback 6a788fe [AhyoungRyu] Resize TOC tab indent 6760c00 [AhyoungRyu] Apply auto TOC to all of docs under docs/storage/ fbde57f [AhyoungRyu] Apply auto TOC to all of docs under docs/quickstart/ db76eb6 [AhyoungRyu] Apply auto TOC to all of docs under docs/install/ f35db47 [AhyoungRyu] Apply auto TOC to all of docs under docs/displaysystem/ b05365f [AhyoungRyu] Apply auto TOC to all of docs under docs/rest-api/ 163691c [AhyoungRyu] Apply auto TOC to all of docs under docs/manual/ bef398e [AhyoungRyu] Apply auto TOC to all of docs under docs/development/ 9c5f76b [AhyoungRyu] Apply auto TOC to all of docs under docs/interpreter/ 587d4ba [AhyoungRyu] Apply auto TOC to all of docs under docs/security/ 1f10b97 [AhyoungRyu] Change toc configuration 78dca9e [AhyoungRyu] Add toc.js for auto generating TOC
2016-06-25 19:44:53 +00:00
<div id="toc"></div>
## Overview
[ZEPPELIN-1219] Add searching feature to Zeppelin docs site ### What is this PR for? As more and more document pages are added, it's really hard to find specific pages. So I added searching feature to Zeppelin documentation site([jekyll](https://jekyllrb.com/) based site) using [lunr.js](http://lunrjs.com/). - **How does it work?** I created [`search_data.json`](https://github.com/AhyoungRyu/zeppelin/blob/6e02423f541cc406e4e41031629609a276a9f481/docs/search_data.json) which is used for docs info template. `lunr.js` combines all of the text from all of the docs in `docs/` into `_site/search_data.json`. It looks like below. ![screen shot 2016-08-03 at 4 49 59 am](https://cloud.githubusercontent.com/assets/10060731/17342828/f2908be8-5935-11e6-8eee-b189677c0531.png) All the info are comes from [Jekyll YAML front matter](https://jekyllrb.com/docs/frontmatter/) variables. (i.e. title, group, description.. that's why I rewrote all docs' title and description.) [search.js](https://github.com/AhyoungRyu/zeppelin/blob/6e02423f541cc406e4e41031629609a276a9f481/docs/assets/themes/zeppelin/js/search.js) will do this job using this data! ### What type of PR is it? Improvement & Feature ### Todos * [x] - Keep consistency for all docs pages' `Title` * [x] - Add some overview sentences to all docs pages' `Description` section (this will be used as the result preview) * [x] - Add apache license header to all docs page (some pages are missing the license header currently) * [x] - Add LICENSE for `lunr.min.js` ### What is the Jira issue? [ZEPPELIN-1219](https://issues.apache.org/jira/browse/ZEPPELIN-1219) ### How should this be tested? 1. Apply this patch and build `ZEPPELIN_HOME/docs` dir -> please see [docs/README.md#build-documentation](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Click `search` icon in navbar and go to `search.html` page 3. Type anything you want to search in the search bar (i.e. type `python`, `spark`, `dynamic` ... ) ### Screenshots (if appropriate) ![screen shot 2016-08-03 at 4 42 28 pm](https://cloud.githubusercontent.com/assets/10060731/17357851/d092e2ca-5999-11e6-9917-a3d4113e6e43.png) ![search](https://cloud.githubusercontent.com/assets/10060731/17357828/b2486cd6-5999-11e6-873b-121fac033b03.gif) ### Questions: * Does the licenses files need update? Yes, for `lunr.min.js` * Is there breaking changes for older versions? no * Does this needs documentation? no Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1266 from AhyoungRyu/ZEPPELIN-1219 and squashes the following commits: 7ec8854 [AhyoungRyu] Modify 'no result' sentence 91b71a7 [AhyoungRyu] Remove Apache license header since JSON doesn't allow comment 34afd5d [AhyoungRyu] Add Apache license header to search_data.json 6784282 [AhyoungRyu] Minor search page UI update 0389d28 [AhyoungRyu] Make index.md not to be searched 9f1ba42 [AhyoungRyu] Disable enterkey press & change icon bd4956a [AhyoungRyu] Add docs.js & search.js to exclude list in pom.xml 624b051 [AhyoungRyu] Add Apache license header to search.js 1381152 [AhyoungRyu] Fix search result skipping issue 6e775f5 [AhyoungRyu] Make pleasecontribute.md not to be searched ee11136 [AhyoungRyu] Fix some typos fa01299 [AhyoungRyu] Refine 'description' in some docs as @bzz suggested da0cff9 [AhyoungRyu] Exclude lunr.min.js 36ba7f1 [AhyoungRyu] Add lunr.min.js license info f6a05a6 [AhyoungRyu] Apply css style for the search results 68eb997 [AhyoungRyu] Attach 'Apache Zeppelin ZEPPELIN_VERSION Documentation: ' to title d908c37 [AhyoungRyu] Add searching page a951fa6 [AhyoungRyu] Add search icon to navbar 0688a79 [AhyoungRyu] Keep consistency all docs' front matter for the right search result 040f532 [AhyoungRyu] Add template for storing docs info based on jekyll front matter 0705bd6 [AhyoungRyu] Add js files: lunr.min.js & search.js
2016-08-06 05:50:25 +00:00
Apache Zeppelin distribution includes a script directory
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
`scripts/vagrant/zeppelin-dev`
[ZEPPELIN-1219] Add searching feature to Zeppelin docs site ### What is this PR for? As more and more document pages are added, it's really hard to find specific pages. So I added searching feature to Zeppelin documentation site([jekyll](https://jekyllrb.com/) based site) using [lunr.js](http://lunrjs.com/). - **How does it work?** I created [`search_data.json`](https://github.com/AhyoungRyu/zeppelin/blob/6e02423f541cc406e4e41031629609a276a9f481/docs/search_data.json) which is used for docs info template. `lunr.js` combines all of the text from all of the docs in `docs/` into `_site/search_data.json`. It looks like below. ![screen shot 2016-08-03 at 4 49 59 am](https://cloud.githubusercontent.com/assets/10060731/17342828/f2908be8-5935-11e6-8eee-b189677c0531.png) All the info are comes from [Jekyll YAML front matter](https://jekyllrb.com/docs/frontmatter/) variables. (i.e. title, group, description.. that's why I rewrote all docs' title and description.) [search.js](https://github.com/AhyoungRyu/zeppelin/blob/6e02423f541cc406e4e41031629609a276a9f481/docs/assets/themes/zeppelin/js/search.js) will do this job using this data! ### What type of PR is it? Improvement & Feature ### Todos * [x] - Keep consistency for all docs pages' `Title` * [x] - Add some overview sentences to all docs pages' `Description` section (this will be used as the result preview) * [x] - Add apache license header to all docs page (some pages are missing the license header currently) * [x] - Add LICENSE for `lunr.min.js` ### What is the Jira issue? [ZEPPELIN-1219](https://issues.apache.org/jira/browse/ZEPPELIN-1219) ### How should this be tested? 1. Apply this patch and build `ZEPPELIN_HOME/docs` dir -> please see [docs/README.md#build-documentation](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Click `search` icon in navbar and go to `search.html` page 3. Type anything you want to search in the search bar (i.e. type `python`, `spark`, `dynamic` ... ) ### Screenshots (if appropriate) ![screen shot 2016-08-03 at 4 42 28 pm](https://cloud.githubusercontent.com/assets/10060731/17357851/d092e2ca-5999-11e6-9917-a3d4113e6e43.png) ![search](https://cloud.githubusercontent.com/assets/10060731/17357828/b2486cd6-5999-11e6-873b-121fac033b03.gif) ### Questions: * Does the licenses files need update? Yes, for `lunr.min.js` * Is there breaking changes for older versions? no * Does this needs documentation? no Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1266 from AhyoungRyu/ZEPPELIN-1219 and squashes the following commits: 7ec8854 [AhyoungRyu] Modify 'no result' sentence 91b71a7 [AhyoungRyu] Remove Apache license header since JSON doesn't allow comment 34afd5d [AhyoungRyu] Add Apache license header to search_data.json 6784282 [AhyoungRyu] Minor search page UI update 0389d28 [AhyoungRyu] Make index.md not to be searched 9f1ba42 [AhyoungRyu] Disable enterkey press & change icon bd4956a [AhyoungRyu] Add docs.js & search.js to exclude list in pom.xml 624b051 [AhyoungRyu] Add Apache license header to search.js 1381152 [AhyoungRyu] Fix search result skipping issue 6e775f5 [AhyoungRyu] Make pleasecontribute.md not to be searched ee11136 [AhyoungRyu] Fix some typos fa01299 [AhyoungRyu] Refine 'description' in some docs as @bzz suggested da0cff9 [AhyoungRyu] Exclude lunr.min.js 36ba7f1 [AhyoungRyu] Add lunr.min.js license info f6a05a6 [AhyoungRyu] Apply css style for the search results 68eb997 [AhyoungRyu] Attach 'Apache Zeppelin ZEPPELIN_VERSION Documentation: ' to title d908c37 [AhyoungRyu] Add searching page a951fa6 [AhyoungRyu] Add search icon to navbar 0688a79 [AhyoungRyu] Keep consistency all docs' front matter for the right search result 040f532 [AhyoungRyu] Add template for storing docs info based on jekyll front matter 0705bd6 [AhyoungRyu] Add js files: lunr.min.js & search.js
2016-08-06 05:50:25 +00:00
This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source.
For PySpark users, this script includes several helpful [Python Libraries](#python-extras).
For SparkR users, this script includes several helpful [R Libraries](#r-extras).
[ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website ### What is this PR for? I added auto TOC(Table of Contents) generator for Zeppelin documentation website. TOC can help people looking through whole contents at a glance and finding what they want quickly. I just added `<div id="toc"></div>` to the each documentation header. [`toc`](https://github.com/apache/zeppelin/compare/master...AhyoungRyu:ZEPPELIN-1018?expand=1#diff-85af09fb498a5667ea455391533f945dR3) recognize `<h2>` & `<h3>` as a title in the docs and it automatically generate TOC. So I set a rule for this work. (I'll write this rule on `docs/CONTRIBUTING.md` or [docs/howtocontributewebsite](https://zeppelin.apache.org/docs/0.6.0-SNAPSHOT/development/howtocontributewebsite.html)). ``` # Level-1 Heading <- Use only for the main title of the page ## Level-2 Heading <- Start with this one ### Level-3 heading <- Only use this one for child of Level-2 toc only recognize Level-2 & Level-3 ``` Please see the below attached screenshot image. ### What type of PR is it? Improvement & Documentation ### Todos * [x] - Add TOC generator * [x] - Apply TOC(`<div id="toc"></div>`) to every documentation and reorganize each headers(apply the above rule) * [x] - Fix some broken code block in several docs * [x] - Apply TOC to `r.md` (Currently R docs has some duplicated info since [this one](https://github.com/apache/zeppelin/commit/d5e87fb8ba98f08db5b0a4995104ce19f182c678) and [this one](https://github.com/apache/zeppelin/commit/7d6cc7e99154e2d337c11fdf8be1a874ed3e9ada) ) * [x] - Apply TOC to `install.md` after #1010 merged * [x] - Apply TOC to `interpreterinstallation.md` after #1042 merged ### What is the Jira issue? [ZEPPELIN-1018](https://issues.apache.org/jira/browse/ZEPPELIN-1018) ### How should this be tested? 1. Apply this patch and build `docs/` with [this guide](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Visit some docs page. Then you can see TOC in the header of page. ### Screenshots (if appropriate) - Automatically generated TOC in Spark interpreter docs page <img width="831" alt="screen shot 2016-06-16 at 9 37 18 pm" src="https://cloud.githubusercontent.com/assets/10060731/16140902/945b9c7a-340a-11e6-91f3-b6174738bed0.png"> ### Questions: * Does the licenses files need update? No. Actually I used [jekyll-table-of-contents#copyright](https://github.com/ghiculescu/jekyll-table-of-contents#copyright). But I don't need to add a license for this :) * Is there breaking changes for older versions? No * Does this needs documentation? Maybe Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1031 from AhyoungRyu/ZEPPELIN-1018 and squashes the following commits: e66397b [AhyoungRyu] Apply TOC to interpreterinstallation.md 009579b [AhyoungRyu] Add more info to 'What is the next?' in install.md 04cf501 [AhyoungRyu] Revert 'where to start' section b7cbe5f [AhyoungRyu] Fix typo cf0911c [AhyoungRyu] Rename license file 388f35a [AhyoungRyu] Add jekyll-table-of-contents license info 6394c70 [AhyoungRyu] Fix image path in python.md d00e4b1 [AhyoungRyu] Move interpreter/screenshot/ -> asset/../img/docs-img/ 3ffb383 [AhyoungRyu] Remove duplicated info in r.md & apply toc a03ca99 [AhyoungRyu] Exclude toc.js from pom.xml 3fae7df [AhyoungRyu] Apply auto generated toc to install.md d114a9d [AhyoungRyu] Address @felixcheung feedback 6a788fe [AhyoungRyu] Resize TOC tab indent 6760c00 [AhyoungRyu] Apply auto TOC to all of docs under docs/storage/ fbde57f [AhyoungRyu] Apply auto TOC to all of docs under docs/quickstart/ db76eb6 [AhyoungRyu] Apply auto TOC to all of docs under docs/install/ f35db47 [AhyoungRyu] Apply auto TOC to all of docs under docs/displaysystem/ b05365f [AhyoungRyu] Apply auto TOC to all of docs under docs/rest-api/ 163691c [AhyoungRyu] Apply auto TOC to all of docs under docs/manual/ bef398e [AhyoungRyu] Apply auto TOC to all of docs under docs/development/ 9c5f76b [AhyoungRyu] Apply auto TOC to all of docs under docs/interpreter/ 587d4ba [AhyoungRyu] Apply auto TOC to all of docs under docs/security/ 1f10b97 [AhyoungRyu] Change toc configuration 78dca9e [AhyoungRyu] Add toc.js for auto generating TOC
2016-06-25 19:44:53 +00:00
### Prerequisites
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
This script requires three applications, [Ansible](http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-pip "Ansible"), [Vagrant](http://www.vagrantup.com "Vagrant") and [Virtual Box](https://www.virtualbox.org/ "Virtual Box"). All of these applications are freely available as Open Source projects and extremely easy to set up on most operating systems.
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
[ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website ### What is this PR for? I added auto TOC(Table of Contents) generator for Zeppelin documentation website. TOC can help people looking through whole contents at a glance and finding what they want quickly. I just added `<div id="toc"></div>` to the each documentation header. [`toc`](https://github.com/apache/zeppelin/compare/master...AhyoungRyu:ZEPPELIN-1018?expand=1#diff-85af09fb498a5667ea455391533f945dR3) recognize `<h2>` & `<h3>` as a title in the docs and it automatically generate TOC. So I set a rule for this work. (I'll write this rule on `docs/CONTRIBUTING.md` or [docs/howtocontributewebsite](https://zeppelin.apache.org/docs/0.6.0-SNAPSHOT/development/howtocontributewebsite.html)). ``` # Level-1 Heading <- Use only for the main title of the page ## Level-2 Heading <- Start with this one ### Level-3 heading <- Only use this one for child of Level-2 toc only recognize Level-2 & Level-3 ``` Please see the below attached screenshot image. ### What type of PR is it? Improvement & Documentation ### Todos * [x] - Add TOC generator * [x] - Apply TOC(`<div id="toc"></div>`) to every documentation and reorganize each headers(apply the above rule) * [x] - Fix some broken code block in several docs * [x] - Apply TOC to `r.md` (Currently R docs has some duplicated info since [this one](https://github.com/apache/zeppelin/commit/d5e87fb8ba98f08db5b0a4995104ce19f182c678) and [this one](https://github.com/apache/zeppelin/commit/7d6cc7e99154e2d337c11fdf8be1a874ed3e9ada) ) * [x] - Apply TOC to `install.md` after #1010 merged * [x] - Apply TOC to `interpreterinstallation.md` after #1042 merged ### What is the Jira issue? [ZEPPELIN-1018](https://issues.apache.org/jira/browse/ZEPPELIN-1018) ### How should this be tested? 1. Apply this patch and build `docs/` with [this guide](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Visit some docs page. Then you can see TOC in the header of page. ### Screenshots (if appropriate) - Automatically generated TOC in Spark interpreter docs page <img width="831" alt="screen shot 2016-06-16 at 9 37 18 pm" src="https://cloud.githubusercontent.com/assets/10060731/16140902/945b9c7a-340a-11e6-91f3-b6174738bed0.png"> ### Questions: * Does the licenses files need update? No. Actually I used [jekyll-table-of-contents#copyright](https://github.com/ghiculescu/jekyll-table-of-contents#copyright). But I don't need to add a license for this :) * Is there breaking changes for older versions? No * Does this needs documentation? Maybe Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1031 from AhyoungRyu/ZEPPELIN-1018 and squashes the following commits: e66397b [AhyoungRyu] Apply TOC to interpreterinstallation.md 009579b [AhyoungRyu] Add more info to 'What is the next?' in install.md 04cf501 [AhyoungRyu] Revert 'where to start' section b7cbe5f [AhyoungRyu] Fix typo cf0911c [AhyoungRyu] Rename license file 388f35a [AhyoungRyu] Add jekyll-table-of-contents license info 6394c70 [AhyoungRyu] Fix image path in python.md d00e4b1 [AhyoungRyu] Move interpreter/screenshot/ -> asset/../img/docs-img/ 3ffb383 [AhyoungRyu] Remove duplicated info in r.md & apply toc a03ca99 [AhyoungRyu] Exclude toc.js from pom.xml 3fae7df [AhyoungRyu] Apply auto generated toc to install.md d114a9d [AhyoungRyu] Address @felixcheung feedback 6a788fe [AhyoungRyu] Resize TOC tab indent 6760c00 [AhyoungRyu] Apply auto TOC to all of docs under docs/storage/ fbde57f [AhyoungRyu] Apply auto TOC to all of docs under docs/quickstart/ db76eb6 [AhyoungRyu] Apply auto TOC to all of docs under docs/install/ f35db47 [AhyoungRyu] Apply auto TOC to all of docs under docs/displaysystem/ b05365f [AhyoungRyu] Apply auto TOC to all of docs under docs/rest-api/ 163691c [AhyoungRyu] Apply auto TOC to all of docs under docs/manual/ bef398e [AhyoungRyu] Apply auto TOC to all of docs under docs/development/ 9c5f76b [AhyoungRyu] Apply auto TOC to all of docs under docs/interpreter/ 587d4ba [AhyoungRyu] Apply auto TOC to all of docs under docs/security/ 1f10b97 [AhyoungRyu] Change toc configuration 78dca9e [AhyoungRyu] Add toc.js for auto generating TOC
2016-06-25 19:44:53 +00:00
## Create a Zeppelin Ready VM
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
If you are running Windows and don't yet have python installed, [install Python 2.7.x](https://www.python.org/downloads/release/python-2710/) first.
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
[ZEPPELIN-996] Improve first page and dropdown menu in documentation site ### What is this PR for? Current Zeppelin documentation site is little bit hard to find a way for Zeppelin beginners. It will not easy to improve this at a time, but I did the below as a start of this work. 1. Restructured dropdown menu and added each category names 2. Added a overview list(with short description) to first page of website (index.md) so that people can look through the overall contents in Zeppelin website at a glance. (as [Apache Spark](http://spark.apache.org/docs/latest/#where-to-go-from-here) and [Apache Mesos](http://mesos.apache.org/documentation/latest/) does) Please see the attached screenshot images :) ### What type of PR is it? Improvement & Documentation ### Todos * [x] - Change outdated screenshot images * [x] - Combine `text.md`, `table.md` and `html.md` to `basicdisplaysystem.md` * [x] - Fix dead link in `virtual_machine.md` * [x] - Improve dropdown menu and reorder * [x] - Improve first page(`index.md`) * [x] - Combine with #995 after it is merged into master ### What is the Jira issue? [ZEPPELIN-996](https://issues.apache.org/jira/browse/ZEPPELIN-996) ### How should this be tested? 1. Apply this patch and [build the docs website with jekyll](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Check the first page(index.html) and dropdown menu ### Screenshots (if appropriate) - Dropdown menu ![dropdown](https://cloud.githubusercontent.com/assets/10060731/16061421/b44f8034-3241-11e6-88fd-43aa5031b453.gif) - First page <img width="717" alt="screen shot 2016-06-14 at 1 28 58 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058631/3ab2cb6c-3234-11e6-95f4-180290df3d02.png"> <img width="694" alt="screen shot 2016-06-14 at 1 29 11 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058639/43d68918-3234-11e6-921c-28436bfca33d.png"> <img width="649" alt="screen shot 2016-06-14 at 1 29 39 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058650/501ec6d6-3234-11e6-9292-53ae84acc18a.png"> <img width="684" alt="screen shot 2016-06-14 at 1 29 57 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058643/4637c8f2-3234-11e6-9b12-a233906f4c8b.png"> <img width="650" alt="screen shot 2016-06-14 at 1 30 12 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058655/56c5af22-3234-11e6-8d29-9b7937728948.png"> <img width="636" alt="screen shot 2016-06-14 at 1 30 22 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058656/58d1187e-3234-11e6-9171-ab7390b4a526.png"> ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1004 from AhyoungRyu/ZEPPELIN-996 and squashes the following commits: 1dbf805 [AhyoungRyu] Add 'Apache' before 'Zeppelin' 6153a50 [AhyoungRyu] Remove useless dash 61a5ad6 [AhyoungRyu] Revert to Text -> HTML -> Table in navbar 1886f8c [AhyoungRyu] Fix indentation af70939 [AhyoungRyu] Apply scrollable menu to 'more' tab & fix UI issue 2654d92 [AhyoungRyu] Combine overflow-x & overflow-y to overflow 904acd6 [AhyoungRyu] Resize dropdown menu maxheight 6e62e31 [AhyoungRyu] Change dynamicform image 230c670 [AhyoungRyu] Revert to Text -> HTML -> Table ad53799 [AhyoungRyu] Adjust image size c75c3a0 [AhyoungRyu] Add HDFS logo to available interpreter image 6a2f40b [AhyoungRyu] Address @bzz feedback 649a14d [AhyoungRyu] Address @coureadoug feedback 67cff3a [AhyoungRyu] Add all documentation list with short description to first page ce4b122 [AhyoungRyu] Limit image width 6ff4db6 [AhyoungRyu] Improve dropdown menu and reorder menus 61da430 [AhyoungRyu] Fix dead link in virtual_machine.md 6251558 [AhyoungRyu] Change 'Zeppelin Configuration' section placement so that it can be separated 4eecab8 [AhyoungRyu] Combine text.md, html.md, table.md 4d021af [AhyoungRyu] Delete outdated images and add new images
2016-06-14 21:52:46 +00:00
1. Download and Install Vagrant: [Vagrant Downloads](http://www.vagrantup.com/downloads.html)
2. Install Ansible: [Ansible Python pip install](http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-pip)
```
sudo easy_install pip
sudo pip install ansible
ansible --version
```
After then, please check whether it reports **ansible version 1.9.2 or higher**.
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
3. Install Virtual Box: [Virtual Box Downloads](https://www.virtualbox.org/ "Virtual Box")
4. Type `vagrant up` from within the `/scripts/vagrant/zeppelin-dev` directory
Thats it ! You can now run `vagrant ssh` and this will place you into the guest machines terminal prompt.
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
If you don't wish to build Zeppelin from scratch, run the z-manager installer script while running in the guest VM:
```
curl -fsSL https://raw.githubusercontent.com/NFLabs/z-manager/master/zeppelin-installer.sh | bash
```
[ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website ### What is this PR for? I added auto TOC(Table of Contents) generator for Zeppelin documentation website. TOC can help people looking through whole contents at a glance and finding what they want quickly. I just added `<div id="toc"></div>` to the each documentation header. [`toc`](https://github.com/apache/zeppelin/compare/master...AhyoungRyu:ZEPPELIN-1018?expand=1#diff-85af09fb498a5667ea455391533f945dR3) recognize `<h2>` & `<h3>` as a title in the docs and it automatically generate TOC. So I set a rule for this work. (I'll write this rule on `docs/CONTRIBUTING.md` or [docs/howtocontributewebsite](https://zeppelin.apache.org/docs/0.6.0-SNAPSHOT/development/howtocontributewebsite.html)). ``` # Level-1 Heading <- Use only for the main title of the page ## Level-2 Heading <- Start with this one ### Level-3 heading <- Only use this one for child of Level-2 toc only recognize Level-2 & Level-3 ``` Please see the below attached screenshot image. ### What type of PR is it? Improvement & Documentation ### Todos * [x] - Add TOC generator * [x] - Apply TOC(`<div id="toc"></div>`) to every documentation and reorganize each headers(apply the above rule) * [x] - Fix some broken code block in several docs * [x] - Apply TOC to `r.md` (Currently R docs has some duplicated info since [this one](https://github.com/apache/zeppelin/commit/d5e87fb8ba98f08db5b0a4995104ce19f182c678) and [this one](https://github.com/apache/zeppelin/commit/7d6cc7e99154e2d337c11fdf8be1a874ed3e9ada) ) * [x] - Apply TOC to `install.md` after #1010 merged * [x] - Apply TOC to `interpreterinstallation.md` after #1042 merged ### What is the Jira issue? [ZEPPELIN-1018](https://issues.apache.org/jira/browse/ZEPPELIN-1018) ### How should this be tested? 1. Apply this patch and build `docs/` with [this guide](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Visit some docs page. Then you can see TOC in the header of page. ### Screenshots (if appropriate) - Automatically generated TOC in Spark interpreter docs page <img width="831" alt="screen shot 2016-06-16 at 9 37 18 pm" src="https://cloud.githubusercontent.com/assets/10060731/16140902/945b9c7a-340a-11e6-91f3-b6174738bed0.png"> ### Questions: * Does the licenses files need update? No. Actually I used [jekyll-table-of-contents#copyright](https://github.com/ghiculescu/jekyll-table-of-contents#copyright). But I don't need to add a license for this :) * Is there breaking changes for older versions? No * Does this needs documentation? Maybe Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1031 from AhyoungRyu/ZEPPELIN-1018 and squashes the following commits: e66397b [AhyoungRyu] Apply TOC to interpreterinstallation.md 009579b [AhyoungRyu] Add more info to 'What is the next?' in install.md 04cf501 [AhyoungRyu] Revert 'where to start' section b7cbe5f [AhyoungRyu] Fix typo cf0911c [AhyoungRyu] Rename license file 388f35a [AhyoungRyu] Add jekyll-table-of-contents license info 6394c70 [AhyoungRyu] Fix image path in python.md d00e4b1 [AhyoungRyu] Move interpreter/screenshot/ -> asset/../img/docs-img/ 3ffb383 [AhyoungRyu] Remove duplicated info in r.md & apply toc a03ca99 [AhyoungRyu] Exclude toc.js from pom.xml 3fae7df [AhyoungRyu] Apply auto generated toc to install.md d114a9d [AhyoungRyu] Address @felixcheung feedback 6a788fe [AhyoungRyu] Resize TOC tab indent 6760c00 [AhyoungRyu] Apply auto TOC to all of docs under docs/storage/ fbde57f [AhyoungRyu] Apply auto TOC to all of docs under docs/quickstart/ db76eb6 [AhyoungRyu] Apply auto TOC to all of docs under docs/install/ f35db47 [AhyoungRyu] Apply auto TOC to all of docs under docs/displaysystem/ b05365f [AhyoungRyu] Apply auto TOC to all of docs under docs/rest-api/ 163691c [AhyoungRyu] Apply auto TOC to all of docs under docs/manual/ bef398e [AhyoungRyu] Apply auto TOC to all of docs under docs/development/ 9c5f76b [AhyoungRyu] Apply auto TOC to all of docs under docs/interpreter/ 587d4ba [AhyoungRyu] Apply auto TOC to all of docs under docs/security/ 1f10b97 [AhyoungRyu] Change toc configuration 78dca9e [AhyoungRyu] Add toc.js for auto generating TOC
2016-06-25 19:44:53 +00:00
## Building Zeppelin
You can now
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
[ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website ### What is this PR for? I added auto TOC(Table of Contents) generator for Zeppelin documentation website. TOC can help people looking through whole contents at a glance and finding what they want quickly. I just added `<div id="toc"></div>` to the each documentation header. [`toc`](https://github.com/apache/zeppelin/compare/master...AhyoungRyu:ZEPPELIN-1018?expand=1#diff-85af09fb498a5667ea455391533f945dR3) recognize `<h2>` & `<h3>` as a title in the docs and it automatically generate TOC. So I set a rule for this work. (I'll write this rule on `docs/CONTRIBUTING.md` or [docs/howtocontributewebsite](https://zeppelin.apache.org/docs/0.6.0-SNAPSHOT/development/howtocontributewebsite.html)). ``` # Level-1 Heading <- Use only for the main title of the page ## Level-2 Heading <- Start with this one ### Level-3 heading <- Only use this one for child of Level-2 toc only recognize Level-2 & Level-3 ``` Please see the below attached screenshot image. ### What type of PR is it? Improvement & Documentation ### Todos * [x] - Add TOC generator * [x] - Apply TOC(`<div id="toc"></div>`) to every documentation and reorganize each headers(apply the above rule) * [x] - Fix some broken code block in several docs * [x] - Apply TOC to `r.md` (Currently R docs has some duplicated info since [this one](https://github.com/apache/zeppelin/commit/d5e87fb8ba98f08db5b0a4995104ce19f182c678) and [this one](https://github.com/apache/zeppelin/commit/7d6cc7e99154e2d337c11fdf8be1a874ed3e9ada) ) * [x] - Apply TOC to `install.md` after #1010 merged * [x] - Apply TOC to `interpreterinstallation.md` after #1042 merged ### What is the Jira issue? [ZEPPELIN-1018](https://issues.apache.org/jira/browse/ZEPPELIN-1018) ### How should this be tested? 1. Apply this patch and build `docs/` with [this guide](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Visit some docs page. Then you can see TOC in the header of page. ### Screenshots (if appropriate) - Automatically generated TOC in Spark interpreter docs page <img width="831" alt="screen shot 2016-06-16 at 9 37 18 pm" src="https://cloud.githubusercontent.com/assets/10060731/16140902/945b9c7a-340a-11e6-91f3-b6174738bed0.png"> ### Questions: * Does the licenses files need update? No. Actually I used [jekyll-table-of-contents#copyright](https://github.com/ghiculescu/jekyll-table-of-contents#copyright). But I don't need to add a license for this :) * Is there breaking changes for older versions? No * Does this needs documentation? Maybe Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1031 from AhyoungRyu/ZEPPELIN-1018 and squashes the following commits: e66397b [AhyoungRyu] Apply TOC to interpreterinstallation.md 009579b [AhyoungRyu] Add more info to 'What is the next?' in install.md 04cf501 [AhyoungRyu] Revert 'where to start' section b7cbe5f [AhyoungRyu] Fix typo cf0911c [AhyoungRyu] Rename license file 388f35a [AhyoungRyu] Add jekyll-table-of-contents license info 6394c70 [AhyoungRyu] Fix image path in python.md d00e4b1 [AhyoungRyu] Move interpreter/screenshot/ -> asset/../img/docs-img/ 3ffb383 [AhyoungRyu] Remove duplicated info in r.md & apply toc a03ca99 [AhyoungRyu] Exclude toc.js from pom.xml 3fae7df [AhyoungRyu] Apply auto generated toc to install.md d114a9d [AhyoungRyu] Address @felixcheung feedback 6a788fe [AhyoungRyu] Resize TOC tab indent 6760c00 [AhyoungRyu] Apply auto TOC to all of docs under docs/storage/ fbde57f [AhyoungRyu] Apply auto TOC to all of docs under docs/quickstart/ db76eb6 [AhyoungRyu] Apply auto TOC to all of docs under docs/install/ f35db47 [AhyoungRyu] Apply auto TOC to all of docs under docs/displaysystem/ b05365f [AhyoungRyu] Apply auto TOC to all of docs under docs/rest-api/ 163691c [AhyoungRyu] Apply auto TOC to all of docs under docs/manual/ bef398e [AhyoungRyu] Apply auto TOC to all of docs under docs/development/ 9c5f76b [AhyoungRyu] Apply auto TOC to all of docs under docs/interpreter/ 587d4ba [AhyoungRyu] Apply auto TOC to all of docs under docs/security/ 1f10b97 [AhyoungRyu] Change toc configuration 78dca9e [AhyoungRyu] Add toc.js for auto generating TOC
2016-06-25 19:44:53 +00:00
```
git clone git://git.apache.org/zeppelin.git
```
into a directory on your host machine, or directly in your virtual machine.
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
Cloning Zeppelin into the `/scripts/vagrant/zeppelin-dev` directory from the host, will allow the directory to be shared between your host and the guest machine.
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
Cloning the project again may seem counter intuitive, since this script likely originated from the project repository. Consider copying just the vagrant/zeppelin-dev script from the Zeppelin project as a stand alone directory, then once again clone the specific branch you wish to build.
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
Synced folders enable Vagrant to sync a folder on the host machine to the guest machine, allowing you to continue working on your project's files on your host machine, but use the resources in the guest machine to compile or run your project. _[(1) Synced Folder Description from Vagrant Up](https://docs.vagrantup.com/v2/synced-folders/index.html)_
By default, Vagrant will share your project directory (the directory with the Vagrantfile) to `/vagrant`. Which means you should be able to build within the guest machine after you
`cd /vagrant/zeppelin`
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
[ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website ### What is this PR for? I added auto TOC(Table of Contents) generator for Zeppelin documentation website. TOC can help people looking through whole contents at a glance and finding what they want quickly. I just added `<div id="toc"></div>` to the each documentation header. [`toc`](https://github.com/apache/zeppelin/compare/master...AhyoungRyu:ZEPPELIN-1018?expand=1#diff-85af09fb498a5667ea455391533f945dR3) recognize `<h2>` & `<h3>` as a title in the docs and it automatically generate TOC. So I set a rule for this work. (I'll write this rule on `docs/CONTRIBUTING.md` or [docs/howtocontributewebsite](https://zeppelin.apache.org/docs/0.6.0-SNAPSHOT/development/howtocontributewebsite.html)). ``` # Level-1 Heading <- Use only for the main title of the page ## Level-2 Heading <- Start with this one ### Level-3 heading <- Only use this one for child of Level-2 toc only recognize Level-2 & Level-3 ``` Please see the below attached screenshot image. ### What type of PR is it? Improvement & Documentation ### Todos * [x] - Add TOC generator * [x] - Apply TOC(`<div id="toc"></div>`) to every documentation and reorganize each headers(apply the above rule) * [x] - Fix some broken code block in several docs * [x] - Apply TOC to `r.md` (Currently R docs has some duplicated info since [this one](https://github.com/apache/zeppelin/commit/d5e87fb8ba98f08db5b0a4995104ce19f182c678) and [this one](https://github.com/apache/zeppelin/commit/7d6cc7e99154e2d337c11fdf8be1a874ed3e9ada) ) * [x] - Apply TOC to `install.md` after #1010 merged * [x] - Apply TOC to `interpreterinstallation.md` after #1042 merged ### What is the Jira issue? [ZEPPELIN-1018](https://issues.apache.org/jira/browse/ZEPPELIN-1018) ### How should this be tested? 1. Apply this patch and build `docs/` with [this guide](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Visit some docs page. Then you can see TOC in the header of page. ### Screenshots (if appropriate) - Automatically generated TOC in Spark interpreter docs page <img width="831" alt="screen shot 2016-06-16 at 9 37 18 pm" src="https://cloud.githubusercontent.com/assets/10060731/16140902/945b9c7a-340a-11e6-91f3-b6174738bed0.png"> ### Questions: * Does the licenses files need update? No. Actually I used [jekyll-table-of-contents#copyright](https://github.com/ghiculescu/jekyll-table-of-contents#copyright). But I don't need to add a license for this :) * Is there breaking changes for older versions? No * Does this needs documentation? Maybe Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1031 from AhyoungRyu/ZEPPELIN-1018 and squashes the following commits: e66397b [AhyoungRyu] Apply TOC to interpreterinstallation.md 009579b [AhyoungRyu] Add more info to 'What is the next?' in install.md 04cf501 [AhyoungRyu] Revert 'where to start' section b7cbe5f [AhyoungRyu] Fix typo cf0911c [AhyoungRyu] Rename license file 388f35a [AhyoungRyu] Add jekyll-table-of-contents license info 6394c70 [AhyoungRyu] Fix image path in python.md d00e4b1 [AhyoungRyu] Move interpreter/screenshot/ -> asset/../img/docs-img/ 3ffb383 [AhyoungRyu] Remove duplicated info in r.md & apply toc a03ca99 [AhyoungRyu] Exclude toc.js from pom.xml 3fae7df [AhyoungRyu] Apply auto generated toc to install.md d114a9d [AhyoungRyu] Address @felixcheung feedback 6a788fe [AhyoungRyu] Resize TOC tab indent 6760c00 [AhyoungRyu] Apply auto TOC to all of docs under docs/storage/ fbde57f [AhyoungRyu] Apply auto TOC to all of docs under docs/quickstart/ db76eb6 [AhyoungRyu] Apply auto TOC to all of docs under docs/install/ f35db47 [AhyoungRyu] Apply auto TOC to all of docs under docs/displaysystem/ b05365f [AhyoungRyu] Apply auto TOC to all of docs under docs/rest-api/ 163691c [AhyoungRyu] Apply auto TOC to all of docs under docs/manual/ bef398e [AhyoungRyu] Apply auto TOC to all of docs under docs/development/ 9c5f76b [AhyoungRyu] Apply auto TOC to all of docs under docs/interpreter/ 587d4ba [AhyoungRyu] Apply auto TOC to all of docs under docs/security/ 1f10b97 [AhyoungRyu] Change toc configuration 78dca9e [AhyoungRyu] Add toc.js for auto generating TOC
2016-06-25 19:44:53 +00:00
## What's in this VM?
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
Running the following commands in the guest machine should display these expected versions:
`node --version` should report *v0.12.7*
`mvn --version` should report *Apache Maven 3.3.9* and *Java version: 1.7.0_85*
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
The virtual machine consists of:
- Ubuntu Server 14.04 LTS
- Node.js 0.12.7
- npm 2.11.3
- ruby 1.9.3 + rake, make and bundler (only required if building jekyll documentation)
- Maven 3.3.9
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
- Git
- Unzip
- libfontconfig to avoid phatomJs missing dependency issues
- openjdk-7-jdk
- Python addons: pip, matplotlib, scipy, numpy, pandas
- [R](https://www.r-project.org/) and R Packages required to run the R Interpreter and the related R tutorial notebook, including: Knitr, devtools, repr, rCharts, ggplot2, googleVis, mplot, htmltools, base64enc, data.table
[ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website ### What is this PR for? I added auto TOC(Table of Contents) generator for Zeppelin documentation website. TOC can help people looking through whole contents at a glance and finding what they want quickly. I just added `<div id="toc"></div>` to the each documentation header. [`toc`](https://github.com/apache/zeppelin/compare/master...AhyoungRyu:ZEPPELIN-1018?expand=1#diff-85af09fb498a5667ea455391533f945dR3) recognize `<h2>` & `<h3>` as a title in the docs and it automatically generate TOC. So I set a rule for this work. (I'll write this rule on `docs/CONTRIBUTING.md` or [docs/howtocontributewebsite](https://zeppelin.apache.org/docs/0.6.0-SNAPSHOT/development/howtocontributewebsite.html)). ``` # Level-1 Heading <- Use only for the main title of the page ## Level-2 Heading <- Start with this one ### Level-3 heading <- Only use this one for child of Level-2 toc only recognize Level-2 & Level-3 ``` Please see the below attached screenshot image. ### What type of PR is it? Improvement & Documentation ### Todos * [x] - Add TOC generator * [x] - Apply TOC(`<div id="toc"></div>`) to every documentation and reorganize each headers(apply the above rule) * [x] - Fix some broken code block in several docs * [x] - Apply TOC to `r.md` (Currently R docs has some duplicated info since [this one](https://github.com/apache/zeppelin/commit/d5e87fb8ba98f08db5b0a4995104ce19f182c678) and [this one](https://github.com/apache/zeppelin/commit/7d6cc7e99154e2d337c11fdf8be1a874ed3e9ada) ) * [x] - Apply TOC to `install.md` after #1010 merged * [x] - Apply TOC to `interpreterinstallation.md` after #1042 merged ### What is the Jira issue? [ZEPPELIN-1018](https://issues.apache.org/jira/browse/ZEPPELIN-1018) ### How should this be tested? 1. Apply this patch and build `docs/` with [this guide](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Visit some docs page. Then you can see TOC in the header of page. ### Screenshots (if appropriate) - Automatically generated TOC in Spark interpreter docs page <img width="831" alt="screen shot 2016-06-16 at 9 37 18 pm" src="https://cloud.githubusercontent.com/assets/10060731/16140902/945b9c7a-340a-11e6-91f3-b6174738bed0.png"> ### Questions: * Does the licenses files need update? No. Actually I used [jekyll-table-of-contents#copyright](https://github.com/ghiculescu/jekyll-table-of-contents#copyright). But I don't need to add a license for this :) * Is there breaking changes for older versions? No * Does this needs documentation? Maybe Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1031 from AhyoungRyu/ZEPPELIN-1018 and squashes the following commits: e66397b [AhyoungRyu] Apply TOC to interpreterinstallation.md 009579b [AhyoungRyu] Add more info to 'What is the next?' in install.md 04cf501 [AhyoungRyu] Revert 'where to start' section b7cbe5f [AhyoungRyu] Fix typo cf0911c [AhyoungRyu] Rename license file 388f35a [AhyoungRyu] Add jekyll-table-of-contents license info 6394c70 [AhyoungRyu] Fix image path in python.md d00e4b1 [AhyoungRyu] Move interpreter/screenshot/ -> asset/../img/docs-img/ 3ffb383 [AhyoungRyu] Remove duplicated info in r.md & apply toc a03ca99 [AhyoungRyu] Exclude toc.js from pom.xml 3fae7df [AhyoungRyu] Apply auto generated toc to install.md d114a9d [AhyoungRyu] Address @felixcheung feedback 6a788fe [AhyoungRyu] Resize TOC tab indent 6760c00 [AhyoungRyu] Apply auto TOC to all of docs under docs/storage/ fbde57f [AhyoungRyu] Apply auto TOC to all of docs under docs/quickstart/ db76eb6 [AhyoungRyu] Apply auto TOC to all of docs under docs/install/ f35db47 [AhyoungRyu] Apply auto TOC to all of docs under docs/displaysystem/ b05365f [AhyoungRyu] Apply auto TOC to all of docs under docs/rest-api/ 163691c [AhyoungRyu] Apply auto TOC to all of docs under docs/manual/ bef398e [AhyoungRyu] Apply auto TOC to all of docs under docs/development/ 9c5f76b [AhyoungRyu] Apply auto TOC to all of docs under docs/interpreter/ 587d4ba [AhyoungRyu] Apply auto TOC to all of docs under docs/security/ 1f10b97 [AhyoungRyu] Change toc configuration 78dca9e [AhyoungRyu] Add toc.js for auto generating TOC
2016-06-25 19:44:53 +00:00
## How to build & run Zeppelin
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
This assumes you've already cloned the project either on the host machine in the zeppelin-dev directory (to be shared with the guest machine) or cloned directly into a directory while running inside the guest machine. The following build steps will also include Python and R support via PySpark and SparkR:
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
```
cd /zeppelin
mvn clean package -Pspark-1.6 -Ppyspark -Phadoop-2.4 -Psparkr -DskipTests
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
./bin/zeppelin-daemon.sh start
```
On your host machine browse to `http://localhost:8080/`
If you [turned off port forwarding](#tweaking-the-virtual-machine) in the `Vagrantfile` browse to `http://192.168.51.52:8080`
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
[ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website ### What is this PR for? I added auto TOC(Table of Contents) generator for Zeppelin documentation website. TOC can help people looking through whole contents at a glance and finding what they want quickly. I just added `<div id="toc"></div>` to the each documentation header. [`toc`](https://github.com/apache/zeppelin/compare/master...AhyoungRyu:ZEPPELIN-1018?expand=1#diff-85af09fb498a5667ea455391533f945dR3) recognize `<h2>` & `<h3>` as a title in the docs and it automatically generate TOC. So I set a rule for this work. (I'll write this rule on `docs/CONTRIBUTING.md` or [docs/howtocontributewebsite](https://zeppelin.apache.org/docs/0.6.0-SNAPSHOT/development/howtocontributewebsite.html)). ``` # Level-1 Heading <- Use only for the main title of the page ## Level-2 Heading <- Start with this one ### Level-3 heading <- Only use this one for child of Level-2 toc only recognize Level-2 & Level-3 ``` Please see the below attached screenshot image. ### What type of PR is it? Improvement & Documentation ### Todos * [x] - Add TOC generator * [x] - Apply TOC(`<div id="toc"></div>`) to every documentation and reorganize each headers(apply the above rule) * [x] - Fix some broken code block in several docs * [x] - Apply TOC to `r.md` (Currently R docs has some duplicated info since [this one](https://github.com/apache/zeppelin/commit/d5e87fb8ba98f08db5b0a4995104ce19f182c678) and [this one](https://github.com/apache/zeppelin/commit/7d6cc7e99154e2d337c11fdf8be1a874ed3e9ada) ) * [x] - Apply TOC to `install.md` after #1010 merged * [x] - Apply TOC to `interpreterinstallation.md` after #1042 merged ### What is the Jira issue? [ZEPPELIN-1018](https://issues.apache.org/jira/browse/ZEPPELIN-1018) ### How should this be tested? 1. Apply this patch and build `docs/` with [this guide](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Visit some docs page. Then you can see TOC in the header of page. ### Screenshots (if appropriate) - Automatically generated TOC in Spark interpreter docs page <img width="831" alt="screen shot 2016-06-16 at 9 37 18 pm" src="https://cloud.githubusercontent.com/assets/10060731/16140902/945b9c7a-340a-11e6-91f3-b6174738bed0.png"> ### Questions: * Does the licenses files need update? No. Actually I used [jekyll-table-of-contents#copyright](https://github.com/ghiculescu/jekyll-table-of-contents#copyright). But I don't need to add a license for this :) * Is there breaking changes for older versions? No * Does this needs documentation? Maybe Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1031 from AhyoungRyu/ZEPPELIN-1018 and squashes the following commits: e66397b [AhyoungRyu] Apply TOC to interpreterinstallation.md 009579b [AhyoungRyu] Add more info to 'What is the next?' in install.md 04cf501 [AhyoungRyu] Revert 'where to start' section b7cbe5f [AhyoungRyu] Fix typo cf0911c [AhyoungRyu] Rename license file 388f35a [AhyoungRyu] Add jekyll-table-of-contents license info 6394c70 [AhyoungRyu] Fix image path in python.md d00e4b1 [AhyoungRyu] Move interpreter/screenshot/ -> asset/../img/docs-img/ 3ffb383 [AhyoungRyu] Remove duplicated info in r.md & apply toc a03ca99 [AhyoungRyu] Exclude toc.js from pom.xml 3fae7df [AhyoungRyu] Apply auto generated toc to install.md d114a9d [AhyoungRyu] Address @felixcheung feedback 6a788fe [AhyoungRyu] Resize TOC tab indent 6760c00 [AhyoungRyu] Apply auto TOC to all of docs under docs/storage/ fbde57f [AhyoungRyu] Apply auto TOC to all of docs under docs/quickstart/ db76eb6 [AhyoungRyu] Apply auto TOC to all of docs under docs/install/ f35db47 [AhyoungRyu] Apply auto TOC to all of docs under docs/displaysystem/ b05365f [AhyoungRyu] Apply auto TOC to all of docs under docs/rest-api/ 163691c [AhyoungRyu] Apply auto TOC to all of docs under docs/manual/ bef398e [AhyoungRyu] Apply auto TOC to all of docs under docs/development/ 9c5f76b [AhyoungRyu] Apply auto TOC to all of docs under docs/interpreter/ 587d4ba [AhyoungRyu] Apply auto TOC to all of docs under docs/security/ 1f10b97 [AhyoungRyu] Change toc configuration 78dca9e [AhyoungRyu] Add toc.js for auto generating TOC
2016-06-25 19:44:53 +00:00
## Tweaking the Virtual Machine
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
If you plan to run this virtual machine along side other Vagrant images, you may wish to bind the virtual machine to a specific IP address, and not use port fowarding from your local host.
Comment out the `forward_port` line, and uncomment the `private_network` line in Vagrantfile. The subnet that works best for your local network will vary so adjust `192.168.*.*` accordingly.
```
#config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.network "private_network", ip: "192.168.51.52"
```
`vagrant halt` followed by `vagrant up` will restart the guest machine bound to the IP address of `192.168.51.52`.
This approach usually is typically required if running other virtual machines that discover each other directly by IP address, such as Spark Masters and Slaves as well as Cassandra Nodes, Elasticsearch Nodes, and other Spark data sources. You may wish to launch nodes in virtual machines with IP addresses in a subnet that works for your local network, such as: 192.168.51.53, 192.168.51.54, 192.168.51.53, etc..
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
[ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website ### What is this PR for? I added auto TOC(Table of Contents) generator for Zeppelin documentation website. TOC can help people looking through whole contents at a glance and finding what they want quickly. I just added `<div id="toc"></div>` to the each documentation header. [`toc`](https://github.com/apache/zeppelin/compare/master...AhyoungRyu:ZEPPELIN-1018?expand=1#diff-85af09fb498a5667ea455391533f945dR3) recognize `<h2>` & `<h3>` as a title in the docs and it automatically generate TOC. So I set a rule for this work. (I'll write this rule on `docs/CONTRIBUTING.md` or [docs/howtocontributewebsite](https://zeppelin.apache.org/docs/0.6.0-SNAPSHOT/development/howtocontributewebsite.html)). ``` # Level-1 Heading <- Use only for the main title of the page ## Level-2 Heading <- Start with this one ### Level-3 heading <- Only use this one for child of Level-2 toc only recognize Level-2 & Level-3 ``` Please see the below attached screenshot image. ### What type of PR is it? Improvement & Documentation ### Todos * [x] - Add TOC generator * [x] - Apply TOC(`<div id="toc"></div>`) to every documentation and reorganize each headers(apply the above rule) * [x] - Fix some broken code block in several docs * [x] - Apply TOC to `r.md` (Currently R docs has some duplicated info since [this one](https://github.com/apache/zeppelin/commit/d5e87fb8ba98f08db5b0a4995104ce19f182c678) and [this one](https://github.com/apache/zeppelin/commit/7d6cc7e99154e2d337c11fdf8be1a874ed3e9ada) ) * [x] - Apply TOC to `install.md` after #1010 merged * [x] - Apply TOC to `interpreterinstallation.md` after #1042 merged ### What is the Jira issue? [ZEPPELIN-1018](https://issues.apache.org/jira/browse/ZEPPELIN-1018) ### How should this be tested? 1. Apply this patch and build `docs/` with [this guide](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) 2. Visit some docs page. Then you can see TOC in the header of page. ### Screenshots (if appropriate) - Automatically generated TOC in Spark interpreter docs page <img width="831" alt="screen shot 2016-06-16 at 9 37 18 pm" src="https://cloud.githubusercontent.com/assets/10060731/16140902/945b9c7a-340a-11e6-91f3-b6174738bed0.png"> ### Questions: * Does the licenses files need update? No. Actually I used [jekyll-table-of-contents#copyright](https://github.com/ghiculescu/jekyll-table-of-contents#copyright). But I don't need to add a license for this :) * Is there breaking changes for older versions? No * Does this needs documentation? Maybe Author: AhyoungRyu <fbdkdud93@hanmail.net> Closes #1031 from AhyoungRyu/ZEPPELIN-1018 and squashes the following commits: e66397b [AhyoungRyu] Apply TOC to interpreterinstallation.md 009579b [AhyoungRyu] Add more info to 'What is the next?' in install.md 04cf501 [AhyoungRyu] Revert 'where to start' section b7cbe5f [AhyoungRyu] Fix typo cf0911c [AhyoungRyu] Rename license file 388f35a [AhyoungRyu] Add jekyll-table-of-contents license info 6394c70 [AhyoungRyu] Fix image path in python.md d00e4b1 [AhyoungRyu] Move interpreter/screenshot/ -> asset/../img/docs-img/ 3ffb383 [AhyoungRyu] Remove duplicated info in r.md & apply toc a03ca99 [AhyoungRyu] Exclude toc.js from pom.xml 3fae7df [AhyoungRyu] Apply auto generated toc to install.md d114a9d [AhyoungRyu] Address @felixcheung feedback 6a788fe [AhyoungRyu] Resize TOC tab indent 6760c00 [AhyoungRyu] Apply auto TOC to all of docs under docs/storage/ fbde57f [AhyoungRyu] Apply auto TOC to all of docs under docs/quickstart/ db76eb6 [AhyoungRyu] Apply auto TOC to all of docs under docs/install/ f35db47 [AhyoungRyu] Apply auto TOC to all of docs under docs/displaysystem/ b05365f [AhyoungRyu] Apply auto TOC to all of docs under docs/rest-api/ 163691c [AhyoungRyu] Apply auto TOC to all of docs under docs/manual/ bef398e [AhyoungRyu] Apply auto TOC to all of docs under docs/development/ 9c5f76b [AhyoungRyu] Apply auto TOC to all of docs under docs/interpreter/ 587d4ba [AhyoungRyu] Apply auto TOC to all of docs under docs/security/ 1f10b97 [AhyoungRyu] Change toc configuration 78dca9e [AhyoungRyu] Add toc.js for auto generating TOC
2016-06-25 19:44:53 +00:00
## Extras
### Python Extras
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
With Zeppelin running, **Numpy**, **SciPy**, **Pandas** and **Matplotlib** will be available. Create a pyspark notebook, and try the below code.
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
```python
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
%pyspark
import numpy
import scipy
import pandas
import matplotlib
print "numpy " + numpy.__version__
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
print "scipy " + scipy.__version__
print "pandas " + pandas.__version__
print "matplotlib " + matplotlib.__version__
```
To Test plotting using Matplotlib into a rendered `%html` SVG image, try
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
```python
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
%pyspark
import matplotlib
matplotlib.use('Agg') # turn off interactive charting so this works for server side SVG rendering
import matplotlib.pyplot as plt
import numpy as np
import StringIO
[ZEPPELIN-1549] Change NotebookID variable name to NoteID ### What is this PR for? This PR fixes wrong written NotebookID to NoteID. ### What type of PR is it? [Improvement] ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-1549 ### Questions: * Does the licenses files need update? No. * Is there breaking changes for older versions? No. * Does this needs documentation? No Author: hyonzin <hyeonjin507@gmail.com> Author: 정현진 <hyeonjin507@gmail.com> Author: Mina Lee <minalee@apache.org> Closes #1518 from hyonzin/ZEPPELIN-1549 and squashes the following commits: 2c5d461 [hyonzin] fix pullNoteID to pullNoteId f843abd [hyonzin] Fix missed line 22aecb3 [hyonzin] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1549 ac03666 [정현진] Merge pull request #1 from minahlee/ZEPPELIN-1549 8b3fffd [Mina Lee] Change notebook to note and fix indentation 000605f [hyonzin] Change clonedNotebookId to clonedNoteId 496695c [hyonzin] Change noteID to noteId 1e87463 [hyonzin] Remove tab indent 5647d37 [hyonzin] Rebase and solve conflicts 09bacd8 [hyonzin] Fix more lines unchanged 070bc2d [hyonzin] fix more in ZeppelinRestApiTest.java 24822a3 [hyonzin] Fix more code not changed (notebookIndex to noteSearchService) 4b4e1e8 [hyonzin] Fix detail (function's name) & Change some placeholder 429203d [hyonzin] Fix details & convention to camel 5fa270d [hyonzin] pull upstream master & fix some details 294bea5 [hyonzin] Fix some wrong written term: Notebook -> Note cc0d315 [hyonzin] Change NotebookID variable name to NoteID
2016-10-24 11:26:33 +00:00
# clear out any previous plots on this note
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
plt.clf()
def show(p):
img = StringIO.StringIO()
p.savefig(img, format='svg')
img.seek(0)
print "%html <div style='width:600px'>" + img.buf + "</div>"
# Example data
people = ('Tom', 'Dick', 'Harry', 'Slim', 'Jim')
y_pos = np.arange(len(people))
performance = 3 + 10 * np.random.rand(len(people))
error = np.random.rand(len(people))
plt.barh(y_pos, performance, xerr=error, align='center', alpha=0.4)
plt.yticks(y_pos, people)
plt.xlabel('Performance')
plt.title('How fast do you want to go today?')
show(plt)
```
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
### R Extras
Vagrant Virtual Machine and Readme.md This script creates a virtual machine that launches a repeatable, known set of core dependencies required for developing Zeppelin. It can also be used to run an existing Zeppelin build if you don't plan to build from source. For pyspark users, this script also includes several helpful Python Libraries and one obscure configuration to help with matplotlib plotting inside Zeppelin. The virtual machine consists of: - Ubuntu Server 14.04 LTS - Node.js 0.12.7 - npm 2.11.3 - ruby 1.9.3 + bundler, rake, make (only required for building jekyll documentation) - Maven 3.3.3 - Git - Unzip - libfontconfig to avoid phatomJs missing dependency issues - openjdk-7-jdk - Python addons: pip, matplotlib, scipy, numpy, pandas - Changes are made to the python backend configuration so that pyspark can render matplotlib plots without an interactive window Author: Jeff Steinmetz <jeffrey.steinmetz@gmail.com> Closes #460 from jeffsteinmetz/master and squashes the following commits: cfb1034 [Jeff Steinmetz] add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher 9a78355 [Jeff Steinmetz] remove apache python script from commit 97a5819 [Jeff Steinmetz] remove apache python script. remove nodesource and use official node.js distribution download 0b169a6 [Jeff Steinmetz] remove license from apache-mirror-selector.py. Simplify node install a86c55f [Jeff Steinmetz] typo fixed. licenses in supporting readme and apache mirror python script 3ec6a6b [Jeff Steinmetz] add virtual machine to docs 4b70e63 [Jeff Steinmetz] remove reference to python backend config in readme. 5c31125 [Jeff Steinmetz] add apache-mirror-selector to ansible playbook 11fdc0d [Jeff Steinmetz] removed matplotlib global Agg config. Updated vagrant virtual box settings with hostname and vm name. upated python example to set Agg afc26a4 [Jeff Steinmetz] roll back to original top level README.md de07f00 [Jeff Steinmetz] update readme based on comments. Add license 853ddca [Jeff Steinmetz] vagrant virtual machine and readme ff8078a [Jeff Steinmetz] vagrant virtual machine and readme fb31785 [Jeff Steinmetz] initial commit of vagrant virtual machine script 5888360 [Jeff Steinmetz] merge upstream 1eb27eb [Jeff Steinmetz] expanded build instructions to include pyspark, and clarified maven and node.js requirements
2015-11-26 21:24:51 +00:00
With zeppelin running, an R Tutorial notebook will be available. The R packages required to run the examples and graphs in this tutorial notebook were installed by this virtual machine.
The installed R Packages include: Knitr, devtools, repr, rCharts, ggplot2, googleVis, mplot, htmltools, base64enc, data.table