Skip to content

Commit

Permalink
added partial config for bundesverfassung
Browse files Browse the repository at this point in the history
  • Loading branch information
csae8092 committed Feb 16, 2024
1 parent 7e82a5e commit 21e50f4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ db.sqlite3
env.default
env.secret
dev.env
secret.env
secret.env
htmlcov
/.*
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-buster
FROM python:3.11-buster

WORKDIR /code

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ modify `./app/config.py` to your needs
## docker

* `docker build -t baserow-ac .`
* `docker run -d --name baserow-ac -p 8020:8020 --env-file secret.env baserow-ac`
* `docker run -d --rm --name baserow-ac -p 8020:8020 --env-file secret.env baserow-ac`

19 changes: 19 additions & 0 deletions app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,23 @@
},
},
},
"b-vg":
{
"db_name": "bundesverfassung",
"db_id": "421",
"endpoints": {
"persons": {
"table_id": "2290",
"search_field_name": "name",
"search_field_id": "20812",
"id_field_name": "bv_id",
},
"document": {
"table_id": "2289",
"search_field_name": "doc_title",
"search_field_id": "20804",
"id_field_name": "bv_id",
},
},
},
}

0 comments on commit 21e50f4

Please sign in to comment.