/gravitee-management-webui

Gravitee.io - API Management - Management UI

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Gravitee Management Webui

Build status Gitter

Install

Yarn tasks are ran from this base dir.

  • Install nodejs, it comes with npm

  • Install yarn

  • Then install node modules with:

yarn install

Prefer the use of yarn to use stable dependencies versions fixed by the yarn.lock file

If you’re working on Windows

  • Install Microsoft’s windows-build-tools using npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).

  • Restart your computer

  • Re-run yarn install

If you don’t install this library, you may have such errors when you’ll do yarn install :

ERROR in ./~/css-loader?importLoaders=1!./~/sass-loader!./~/postcss-loader!./src/index.scss Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (57) For more information on which environments are supported please see: https://github.com/sass/node-sass/releases/tag/v3.13.1

Tasks

If you wanna serve the built version on dev mode :

yarn run serve

If you wanna serve the built version on production mode :

yarn run serve:dist

If you wanna serve the built version pointing on the demo’s server :

yarn run serve:demo

If you wanna serve the built version pointing on the nightly’s server :

yarn run serve:nightly

If you wanna launch e2e (end to end) tests with Protractor on the built version :

yarn run buildNoReg

Tested and approved with the BrowserStack platform