Git Product home page Git Product logo

gravitee-management-webui's Introduction

Gravitee Management Webui

Build status Gitter

Install

NPM tasks are ran from this base dir.

  • Install nvm

  • Install the Angular CLI

npm install -g @angular/cli
  • Use with nvm use or install with nvm install the node version declared in .nvmrc

  • Then install node modules with:

npm install

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 npm install

If you don’t install this library, you may have such errors when you’ll do npm 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

About WIP dependencies

This project use project Gravitee UI Components. If you want to develop in parallel, you can clone repository and link to project.

git clone [email protected]:gravitee-io/gravitee-ui-components.git
pushd gravitee-ui-components
npm link
popd

pushd gravitee-management-webui
npm link @gravitee/ui-components
popd

Tasks

If you wanna serve the built version on dev mode :

npm run serve

IF you have this error with node-sass

ERROR in ./src/index.scss (./node_modules/css-loader!./node_modules/sass-loader/dist/cjs.js!./src/index.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: ENOENT: no such file or directory, scandir '/Users/gcusnieux/Sources/gravitee-management-webui/node_modules/node-sass/vendor'
    at Object.readdirSync (fs.js:1021:3)
    at Object.getInstalledBinaries (/Users/gcusnieux/Sources/gravitee-management-webui/node_modules/node-sass/lib/extensions.js:133:13)
    at foundBinariesList (/Users/gcusnieux/Sources/gravitee-management-webui/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/Users/gcusnieux/Sources/gravitee-management-webui/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/Users/gcusnieux/Sources/gravitee-management-webui/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/Users/gcusnieux/Sources/gravitee-management-webui/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/Users/gcusnieux/Sources/gravitee-management-webui/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at getDefaultSassImpl (/Users/gcusnieux/Sources/gravitee-management-webui/node_modules/sass-loader/dist/index.js:198:10)
    at Object.loader (/Users/gcusnieux/Sources/gravitee-management-webui/node_modules/sass-loader/dist/index.js:80:29)
 @ ./src/index.scss 2:14-115
 @ ./src/index.ts

Remove node_modules and reinstall

npm install
// or you can rebuild node-sass
npm rebuild node-sass

If you wanna serve the built version on production mode :

npm run build:prod
npm run serve:prod

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

npm run serve:demo

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

npm run serve:nightly

Tested and approved with the BrowserStack platform

gravitee-management-webui's People

Contributors

aelamrani avatar alvarollmenezes avatar brasseld avatar dependabot[bot] avatar fredrikhl avatar gaetanmaisse avatar gcusnieux avatar ggui avatar graviteeio avatar jean-baptiste-lasselle avatar jhaeyaert avatar julienfauvel avatar kurtvm avatar lauthieb avatar leleueri avatar loriepisicchio avatar m3lkior avatar mariapushkin avatar nicolasgeraud avatar nicolashenry avatar phiz71 avatar renso avatar rtabary avatar snyk-bot avatar tcompiegne avatar yang-dw avatar yazalulloa avatar yofab avatar ytvnr avatar zdenda-online avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.