This is Zeppelin's frontend project.
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
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
# build zeppelin-web for production
$ npm run build
# run frontend application only in dev mode (localhost:9000)
# you need to run zeppelin backend instance also
$ npm run start
# execute tests
$ npm run test
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://
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 npm install command:
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>--proxy=http://<host>:<port> --https-proxy=http://<host>:<port></arguments>
</configuration>
</execution>
and retry to build again.
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.