Setting up the Development Environment
June 12, 2019 ยท View on GitHub
The development environment has two parts. One part handles building ng-ias.css and ng-ias.js, while
another builds and serves the documentation application.
-
Clone the repository and install packages via NPM
git clone git@github.com:microfocus/ng-ias.git cd ng-ias npm install -g gulp-cli npm install -
In one terminal window:
~/ng-ias# gulpThis will build ng-ias and watch files under src/ for changes.
-
In a new terminal:
~/ng-ias# cd docs ~/ng-ias/docs# gulpThis will build the documentation application, start a local server, and watch files under docs/src for changes.
-
Navigate to localhost:8080 to view the documentation application.
ng-gulp
This project uses Gulp and ng-gulp to build the project, watch the source for changes, and start a local server which hosts the application.
Useful ng-gulp commands
gulp build:productionBuild project without watching for changes or starting servergulp serve:productionStart local servergulp cleanRemove build output directory