mtl-bba-aircraft-configurator
v0.3.1
Published
## Install project
Downloads
2
Readme
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
- Run a build (check Build section below)
- Read this article: https://medium.com/dailyjs/how-to-use-npm-link-7375b6219557
- Make the link as the article explains to you
- You should be able to see your development in context of the 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:
- https://wiki.nurun.com/display/MF/Comment+publier+dans+nexus
- 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.