# light-viz **Repository Path**: chenyclover/light-viz ## Basic Information - **Project Name**: light-viz - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## [LightViz](http://kitware.github.io/light-viz/) [![Build Status](https://travis-ci.org/Kitware/light-viz.svg)](https://travis-ci.org/Kitware/light-viz) [![Dependency Status](https://david-dm.org/kitware/light-viz.svg)](https://david-dm.org/kitware/light-viz) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) ![npm-download](https://img.shields.io/npm/dm/light-viz.svg) ![npm-version-requirement](https://img.shields.io/badge/npm->=3.0.0-brightgreen.svg) ![node-version-requirement](https://img.shields.io/badge/node->=5.0.0-brightgreen.svg) ### Goal ### Provide a tailored user interface for Scientific Visualization using ParaViewWeb as backend. ## Installation ``` $ npm install -g light-viz ``` After installing the package you will get one executable **LightViz** with the following set of options. ``` $ LightViz Usage: LightViz [options] Options: -h, --help output usage information -V, --version output the version number -p, --port [8080] Start web server with given port -d, --data [directory] Data directory to serve -s, --server-only Do not open the web browser --paraview [path] Provide the ParaView root path to use --offscreen Use flag to specify that ParaView should be used in Offscreen mode --data-analysis Inspect data directory and compute metadata --config [path] Provide a Lightviz config file to use --profile [profile] Specify which profile from the config file to use --add-dataset [path] Specify a dataset to add to the given data directory. Requires the description and data flags --description [description] Specify the description for the dataset being added --autoApply Optional for use with --add-dataset. Specifies that apply/reset buttons are not needed with the dataset ``` ## Documentation See the [documentation](https://kitware.github.io/light-viz) for a getting started guide, advanced documentation, and API descriptions. ## Development To start developing light-viz, first clone the repository: ```sh $ git clone https://github.com/Kitware/light-viz.git ``` To set up the dependencies for light-viz run the following. Note that this must be re-run every time the dependencies for light-viz are modified. ```sh $ npm install ``` When first setting up light-viz for development, it may be helpful to have npm install a symlink to the latest version that can be executed from the command line in the folder (presumably in the path) where npm is located. To do this run: ```sh $ npm link ``` Now make changes and see what happens. If you have changed the python code that runs on the paraview server side, you will have to re-run the LightViz executable that is generated by `npm link`. If you have changed the JavaScript code, running the following command and refreshing the page should be sufficient. ```sh $ npm run build ``` Before you commit, please run: ```sh $ npm run build:release ``` This creates a minified version of the light-viz JavaScript code in dist/LightViz.js which should be added to your commit. #### Licensing **light-viz** aka LightViz is licensed under [BSD Clause 3](LICENSE). #### Getting Involved Fork our repository and do great things. At [Kitware](http://www.kitware.com), we've been contributing to open-source software for 15 years and counting, and want to make **light-viz** useful to as many people as possible.