Projekt

Obecné

Profil

Stáhnout (1.08 KB) Statistiky
| Větev: | Tag: | Revize:
1 89f1aff3 Stanislav Král
# Application for X.509 certificate management 
2 02c4d11b Jan Pašek
3 4516017a Stanislav Král
[![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 2bd300e3 Jan Pašek
6 4516017a Stanislav Král
**API definition:** ![swagger.yaml](https://gitlab.kiv.zcu.cz/aswi/aswi-2021/aswi2021jmsd/-/blob/master/src/swagger.yaml)
7 2bd300e3 Jan Pašek
8 00163ec2 Stanislav Král
- **Python 3.8** was used during the development of this application - it is the recommended interpreter to be used to run this application
9 e21bbef3 Petr Pícha
10 4516017a Stanislav Král
11 361901f7 Stanislav Král
## Testing
12
- `pytest` framework is used for testing
13
- tests are stored in the `tests` folder
14 7c67b1e0 Stanislav Král
 - 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 f6947544 Stanislav Král
16
## Deployment via Docker
17
- run `docker-compose up` in the project's root directory
18 7768c9d6 Stanislav Král
    - consists of gunicorn WSGI and nginx containers
19 def6ebe0 Stanislav Král
    - app is then available at [localhost](http://localhost)