0.3.1 • Published 2 years ago

mtl-bba-aircraft-configurator v0.3.1

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
2 years ago

MtlBbaAircraftConfigurator

Install project

Run npm install at the root project folder. All packages will be installed.

Development server

Run npm start for a dev server and the code compilation. Navigate to http://localhost:5000/. Check the output of the console after npm start to check the application port if the 5000 port not respond. The app will automatically reload if you change any of the source files.

How to link you're developing code and test it in bba website

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Publish the code in nexus

  • Before publishing the project in nexus, we need to run the build command. (Run npm run build)
  • When you're ready with your new feature sets, you should publish it in nexus to be able to access it:
  • Go to mtl-bba-drupal8 repository
  • Update the version inside the package.json
  • Run the command npm install, it will update the package-lock.json and it will build the right version in the next jenkin build

Running unit tests

Run npm test to execute the unit tests via Karma.