XML Travelgate B2B platform for business to business.
You need to install NodeJS. Run npm install -g @angular/cli to install Angular CLI.
Install all dependencies from the project using Yarn or NPM:
Using yarn:
yarn install
Using npm:
npm install
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
This project works with an Express.js server through NodeJS. First you must build the dist/ folder with npm run build or npm run build-w for watching changes. Run npm run server to deploy de server with port 8080. Visit http:localhost:8080 to see de application.
Here there is a list of the most common commands:
"build": "ng build -pr false",
"build-w": "ng build -w -pr false",
"build-prod": "ng build --prod",
"build-prod-w": "ng build --prod -w",
"server": "node server/server.js",
"server-prod": "NODE_ENV=prod node server/server.js"
- Billie Thompson - Initial work - PurpleBooth
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details
- Hat tip to anyone who's code was used
- Inspiration
- etc