1
|
# Application for X.509 certificate management
|
2
|
|
3
|
[![pipeline status](https://gitlab.kiv.zcu.cz/aswi/aswi-2021/aswi2021jmsd/badges/master/pipeline.svg)](https://gitlab.kiv.zcu.cz/aswi/aswi-2021/aswi2021jmsd/-/commits/master)
|
4
|
[![coverage](https://gitlab.kiv.zcu.cz/aswi/aswi-2021/aswi2021jmsd/badges/master/coverage.svg)](https://gitlab.kiv.zcu.cz/aswi/aswi-2021/aswi2021jmsd/-/commits/master)
|
5
|
|
6
|
**API definition:** ![swagger.yaml](https://gitlab.kiv.zcu.cz/aswi/aswi-2021/aswi2021jmsd/-/blob/master/src/swagger.yaml)
|
7
|
|
8
|
- **Python 3.8** was used during the development of this application - it is the recommended interpreter to be used to run this application
|
9
|
|
10
|
|
11
|
## Testing
|
12
|
- `pytest` framework is used for testing
|
13
|
- tests are stored in the `tests` folder
|
14
|
- can be run in PyCharm IDE (see [tutorial](https://www.jetbrains.com/help/pycharm/pytest.html)) or by calling `pytest` in the project's root directory
|
15
|
- Robot Framework tests are located in the `robot_tests` directory
|
16
|
|
17
|
## Deployment via Docker
|
18
|
- run `docker-compose up` in the project's root directory
|
19
|
- consists of gunicorn WSGI and nginx containers
|
20
|
- app is then available at [localhost](http://localhost)
|
21
|
|