How to Install & build the project instructions
Checkout the source code from https://github.com/Neustar-TDI/node-reporting-ui/tree/feature/psl/dashboard-0.1
Rename the index_dev.html to index.html, move the folder under your webserver of choise and create a website/ virtual host and access index.html from browser.
Make sure that:
- Open local branch or feature for [https://github.com/Neustar-TDI/node-reporting-ui/tree/feature/psl/dashboard-0.1)
- API calls are not blocked by network proxy.
- Browser used is Chrome – 57 on windows or Safari 10 on Mac.
NPM
Install the NPM You may have run below commands first if you are behind the proxy npm config set proxy http://ngproxy.exmaple.com:8080 npm config set https-proxy http://ngproxy.example.com:8080
To create the build
Ensure that package.json & webpack.config.js are present with configuration
Use "npm run build": This will install and the run the compilation process. Use "npm run compile": This will deploy everything inside dist folder.
Webpack package manager comes with a small development server on localhost:4000
Use "npm run startDev": This will run a local Node server and deploy the application.