Projekt

Obecné

Profil

Stáhnout (1.08 KB) Statistiky
| Větev: | Tag: | Revize:
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

    
16
## Deployment via Docker
17
- run `docker-compose up` in the project's root directory
18
    - consists of gunicorn WSGI and nginx containers
19
    - app is then available at [localhost](http://localhost)
20

    
(3-3/11)