Center UI built on React, Gulp and Webpack.
Install Node.js and npm. Head over to the Node.js website if you need to do that. Next, install Bower and Gulp, you might need to run them as sudo.
npm install -g gulp bower
First clone the repo. Install module dependencies.
git clone https://github.com/ozone-development/ozp-center.git
cd ozp-center
npm install
bower install
Next, run npm start or gulp dev. Go to http://localhost:8000/webpack-dev-server/dist and browser will automatically reload when any file in /app changes. Alternatively, you can also go to http://localhost:8000/dist, if auto reload is undesirable.
See scripts key in package.json for all options.
npm startimplements an http server and a live reload server.npm run buildgenerates production build at ./dist directory with minified versions of JS and CSS. Contents of ./dist directory can then be copied to a web server.npm run deployGhPagesruns a build with demo configs and deploys ./dist to github pages.