Skip to content

Implement changes

Matthias Schildwächter edited this page Sep 20, 2017 · 3 revisions

To change something in the frontend it is necessary to set up a Angular Project with ng new anonml_gui, install bootstrap and clone the frontend code (e.g. via https://github.com/anon-ml/anonml-gui.git). After that set it all together. It is possible to start up the frontend by ng serve to see changes directly without starting up the whole backend.

Build

With ng build the whole frontend code (Typescript and HTML source) is compiled into Javascript to deliver it over the backend. The compiled source can be found under the /dist folder.

Deliver

The content of the /dist folder has to be placed in the anonml-web/src/main/resources/resources folder of the anonml-web module to be deliverd by the backend.

Clone this wiki locally