/usr/share/cagefs-skeleton/lib/python3.9/site-packages/glances/outputs/static
# How to contribute? In order to build the assets of the Web UI, you'll need [npm](https://docs.npmjs.com/getting-started/what-is-npm). You must run the following command from the `glances/outputs/static/` directory. ## Install dependencies ```bash $ npm ci ``` ## Build assets Run the build command to build assets once : ```bash $ npm run build ``` or use the watch command to rebuild only modified files : ```bash $ npm run watch ``` # Anatomy ```bash static | |--- css | |--- images | |--- js | |--- public # path where builds are put | |--- templates (bottle) ``` ## Data Each plugin receives the data in the following format: * stats * views * isBsd * isLinux * isMac * isWindows
.
Edit
..
Edit
.eslintrc.js
Edit
.prettierrc.js
Edit
README.md
Edit
css
Edit
images
Edit
js
Edit
package-lock.json
Edit
package.json
Edit
public
Edit
templates
Edit
webpack.config.js
Edit