Files
kops-arm64/app/README.rst
Matthew Casperson 5a1fa0f1c4 Windows build fixes (#192)
* Forced checkouts to use LF line endings and added NPM cripts for windows

* Updated the readme

* Removed verbose logs
2018-12-27 11:11:26 +01:00

28 lines
718 B
ReStructuredText

This directory contains the EcmaScript frontend code of Kubernetes Operational View and is only needed during build time.
The JavaScript application bundle (webpack) will be generated to ``kube_ops_view/static/build/app*.js`` by running:
.. code-block:: bash
$ npm install
$ npm run build
Frontend development is supported by watching the source code and continuously recompiling the webpack:
.. code-block:: bash
$ npm start
Windows uses slightly different scripts. This will build the JavaScript app in Windows:
.. code-block:: powershell
$ npm install
$ npm run buildwin
This will start the code watch and rebuild script in Windows:
.. code-block:: powershell
$ npm run startwin