mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-12-26 17:28:56 +01:00
Repo struktur dokumentieren (#75)
This commit is contained in:
34
README.md
34
README.md
@@ -1,13 +1,39 @@
|
||||
# aki_prj23_transparenzregister
|
||||
|
||||
[](https://github.com/astral-sh/ruff)
|
||||
[](https://www.python.org)
|
||||
[](https://github.com/astral-sh/ruff/actions)
|
||||
[](https://github.com/fhswf/aki_prj23_transparenzregister/actions/workflows/test-action.yaml)
|
||||
[](https://github.com/fhswf/aki_prj23_transparenzregister/actions/workflows/lint-actions.yaml)
|
||||
[](https://github.com/astral-sh/ruff)
|
||||
[](https://github.com/pre-commit/pre-commit)
|
||||
[](http://mypy-lang.org/)
|
||||
[](https://mypy.readthedocs.io/en/stable/?badge=stable)
|
||||
[](https://github.com/psf/black)
|
||||
|
||||
## Contributions
|
||||
|
||||
See the [CONTRIBUTING.md](CONTRIBUTING.md) about how code should be formatted and what kind of rules we set ourselves.
|
||||
|
||||
[](https://github.com/fhswf/aki_prj23_transparenzregister/actions/workflows/bandit-action.yaml)
|
||||
## DB Connection settings
|
||||
|
||||
To connect to the SQL db see [sql/connector.py](./src/aki_prj23_transparenzregister/utils/postgres/connector.py)
|
||||
To connect to the Mongo db see [connect]
|
||||
|
||||
Create a `secrets.json` in the root of this repo with the following structure (values to be replaces by desired config):
|
||||
|
||||
```json
|
||||
{
|
||||
"postgres": {
|
||||
"username": "postgres",
|
||||
"password": "postgres",
|
||||
"host": "localhost",
|
||||
"database": "postgres",
|
||||
"port": 5432
|
||||
},
|
||||
"mongo": {
|
||||
"username": "username",
|
||||
"password": "password",
|
||||
"host": "localhost",
|
||||
"database": "transparenzregister",
|
||||
"port": 27017
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user