OpenSlides / openslides-meta

MIT License
0 stars 12 forks source link

Add dev files & setup #18

Closed jsangmeister closed 7 months ago

jsangmeister commented 7 months ago

Adds a docker-compose setup to the repo, together with all formatting and linting tools used in the backend as well as automatic scripts and checks for them. Some notes:

@r-peschke With this setup, it should be easily possible to add a /dev/tests folder which includes all tests and can be executed via pytest. As the setup is never used for anything else, I think we can just hardcode the postgres access data (host, port, user, db, password) in the test code and don't need to make it configurable via some env vars.