HiP-CmsAngularApp is a content management system which is developed by the project group History in Paderborn to manage the data of the 'History in Paderborn' system.
This is a client application which makes use of several RESTful APIs. Mobile apps make the content of HiP-CMS accessable to the public.
- Node version >= 6.x (LTS version) and npm >= 5.x
- Clone the repository.
- Navigate to
cd HiP-CmsAngularApp npm installto install all dependencies.- Create a
hip-config.jsonconfig file, likehip-config.json.examplewith correct URLs. npm startcompiles the application, then simultaneously re-compiles and runs the webdpack-dev-server.
After completing development it is recommended to execute npm run lint command which will give all the code style issues which need to be fixed before creating a Pull Request.
To create the files for production, replace npm start from the development setup with the following commands:
npm run build:productionto build the app for production.npm run serveto start the angular-http-server on port 8080.
To create the files for production, replace npm start from the development setup with the following commands:
npm run build:productionto build the app for production.- Create a
hip-test-data.jsonconfig file, likehip-test-data.json.examplewith the required test data. npm run webdriver:updateto install the webdriver needed for the Protractor tests.npm run e2eruns the End to End tests using Protractor.
The results can be found on the console output and _test-output/protractor-results.txt.
npm run docker.
You can create a source documentation by running: npm run doc.
The created documentation takes place in docs/.
HiP (History in Paderborn) ist eine Plattform der: Universität Paderborn Warburger Str. 100 33098 Paderborn http://www.uni-paderborn.de Tel.: +49 5251 60-0
You can also write an email.