Projekt

Obecné

Profil

Stáhnout (1.14 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 ddb92dc5 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
- Robot Framework tests are located in the `robot_tests` directory
16 f6947544 Stanislav Král
17
## Deployment via Docker
18
- run `docker-compose up` in the project's root directory
19 7768c9d6 Stanislav Král
    - consists of gunicorn WSGI and nginx containers
20 def6ebe0 Stanislav Král
    - app is then available at [localhost](http://localhost)