@@ -5,6 +5,23 @@ This is Data Catalog for eFlows4HPC project
Find architecture in [arch](arch/arch.adoc) folder.
## Frontend Server for the Data Catalog
[This](frontend/) part is the frontend for the Data Catalog. It will be the user interface, so that no one is forced to manually do http calls to the api. Since the content is managed by the [api-server}(apiserver/), this can be deployed as a static website, containing only html, css and javascript. To make the different pages more uniform and avoid duplicate code, the static pages will be generated by the [jinja2](https://jinja.palletsprojects.com/en/3.0.x/templates/) template engine.
To compile the static pages to the `./site/` directory (will be created if required), simply run
```bash
pip install-r requirements.txt
python frontend/createStatic.py
```
The site can then be deployed to any webserver that is capable of serving files, as no other server functionality is strictly required. However, in a proper deployment, access and certificates should be considered.
For development (and only for development), an easy way to deploay a local server is