Angular Application Code
This is a standard NG2 / Webpack app, that once built for production is read by a Django template.
- Load https://popper.js.org/ for tooltips
- Ensure G_MAPS library is only loaded once, avoid loading a script tag though
The following file describes the main commands in the script section in the package.json
-
i18nUsing the Phrase CLI Tool this commands pulls all translations for thecampus cloudproject -
precommitEnsures the formatting of all files staged to be committed -
releaseBefore every release we run this command to generate a CHANGELOG file with all new changes, using Conventional Commits -
startStarts the development server for thecampus cloudproject and listens onlocalhost:3030. During development there is no need to run the Python server as all app assets are handled by Webpack -
testRuns all unit tests for thecampus cloudproject -
start:ready-uiStarts the development server for theready-uiproject -
buildBuilds thecampus cloudproject for eitherstagingorproduction. Outputs its contents todist, the generatedindex.htmlis read by the django app and served when visiting the root of the app