zeppelin/zeppelin-web
1ambda eac6b438c2 fix: no-extra-semi
```
/Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web/src/app/visualization/builtins/visualization-table.js (5/0)
  ✖  28:4  Unnecessary semicolon  no-extra-semi
  ✖  32:4  Unnecessary semicolon  no-extra-semi
  ✖  51:4  Unnecessary semicolon  no-extra-semi
  ✖  57:4  Unnecessary semicolon  no-extra-semi
  ✖  61:4  Unnecessary semicolon  no-extra-semi

/Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web/src/app/visualization/visualization.js (14/0)
  ✖   25:4  Unnecessary semicolon  no-extra-semi
  ✖   32:4  Unnecessary semicolon  no-extra-semi
  ✖   39:4  Unnecessary semicolon  no-extra-semi
  ✖   46:4  Unnecessary semicolon  no-extra-semi
  ✖   54:4  Unnecessary semicolon  no-extra-semi
  ✖   64:4  Unnecessary semicolon  no-extra-semi
  ✖   75:4  Unnecessary semicolon  no-extra-semi
  ✖   82:4  Unnecessary semicolon  no-extra-semi
  ✖   89:4  Unnecessary semicolon  no-extra-semi
  ✖  100:4  Unnecessary semicolon  no-extra-semi
  ✖  112:4  Unnecessary semicolon  no-extra-semi
  ✖  119:4  Unnecessary semicolon  no-extra-semi
  ✖  163:4  Unnecessary semicolon  no-extra-semi
  ✖  171:2  Unnecessary semicolon  no-extra-semi
```
2017-04-20 12:02:15 +09:00
..
src fix: no-extra-semi 2017-04-20 12:02:15 +09:00
.babelrc [ZEPPELIN-1850] Introduce Webpack (front) 2016-12-28 20:49:07 -08:00
.bowerrc Rename zeppelin-web2 -> zeppelin-web 2014-09-06 11:36:28 +09:00
.editorconfig Rename zeppelin-web2 -> zeppelin-web 2014-09-06 11:36:28 +09:00
.eslintrc fix: no-extra-semi 2017-04-20 12:02:15 +09:00
bower.json [ZEPPELIN-2357] fix: tooltip doesn't work in btn-group 2017-04-11 18:11:54 +09:00
Gruntfile.js fix: Use eslint instead of grunt-eslint 2017-04-20 12:02:15 +09:00
karma.conf.js [ZEPPELIN-2217] AdvancedTransformation for Visualization 2017-04-15 07:34:27 +09:00
package.json fix: Remove invalid visdev 2017-04-20 12:02:15 +09:00
pom.xml [ZEPPELIN-791] Build infra: move all RAT to root pom.xml 2017-03-05 12:42:20 -08:00
README.md [ZEPPELIN-2190] Support custom web development port 2017-03-31 13:10:50 -07:00
webpack.config.js [ZEPPELIN-2190] Support custom web development port 2017-03-31 13:10:50 -07:00

Zeppelin Web Application

This is Zeppelin's frontend project.

Development Guide

Packaging

If you want to package the zeppelin-web only, simply run this command in this folder.
This will download all the dependencies including node (the binaries in the folder zeppelin-web/node)

$ mvn package 

Local Development

It is recommended to install node 6.0.0+ since Zeppelin uses 6.9.1+ (see creationix/nvm)

All build commands are described in package.json

# install required depepdencies and bower packages (only once)
$ npm install -g yarn
$ yarn install

# build zeppelin-web for production
$ yarn run build

# run frontend application only in dev mode (localhost:9000) 
# you need to run zeppelin backend instance also
$ yarn run dev

# execute tests
$ yarn run test

Supports the following options with using npm environment variable when running the web development mode.

# if you are using a custom port instead of default(8080), 
# you must use the 'SERVER_PORT' variable to run the web application development mode
$ SERVER_PORT=YOUR_ZEPPELIN_PORT yarn run dev

# if you want to use a web dev port instead of default(9000), 
# you can use the 'WEB_PORT' variable
$ WEB_PORT=YOUR_WEB_DEV_PORT yarn run dev

Troubleshooting

Git error

In case of the error ECMDERR Failed to execute "git ls-remote --tags --heads git://xxxxx", exit code of #128

change your git config with git config --global url."https://".insteadOf git://

Proxy issues

Try to add to the .bowerrc file the following content:

  "proxy" : "http://<host>:<port>",
  "https-proxy" : "http://<host>:<port>"

also try to add proxy info to yarn install command:

<execution>
	<id>yarn install</id>
	<goals>
    	<goal>yarn</goal>
    </goals>
    <configuration>
    	<arguments>--proxy=http://<host>:<port> --https-proxy=http://<host>:<port></arguments>
    </configuration>
</execution>

and retry to build again.

Contribute on Zeppelin Web

If you wish to help us and contribute to Zeppelin WebApplication, please look at the overall project contribution guidelines and the more focused Zeppelin WebApplication's documentation.