Skip to content

Commit 11363f1

Browse files
committed
📝 Update README
1 parent ce0fd32 commit 11363f1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Import from NocoDB
44

5+
### Setup
6+
57
In order to import data from NocoDB, you need to set the following environment variables:
68

79
- `FROIDE_EVIDENCECOLLECTION_NOCODB_API_URL`: The base URL of the NocoDB instance.
@@ -11,16 +13,17 @@ In order to import data from NocoDB, you need to set the following environment v
1113
- `FROIDE_EVIDENCECOLLECTION_NOCODB_SOURCE_TABLE`
1214
- `FROIDE_EVIDENCECOLLECTION_NOCODB_EVIDENCE_TABLE`
1315
- `FROIDE_EVIDENCECOLLECTION_NOCODB_GROUP_TABLE`
16+
- `FROIDE_EVIDENCECOLLECTION_NOCODB_IMPORT_CONFIG`: a dictionary containing additional configuration options, see the `settings/base.py` file in the `fragdenstaat_de` project.
1417

15-
Additional configuration options can be set in the Django settings file.
18+
### Run the Import
1619

1720
The import can be run manually using the following command:
1821

1922
```bash
2023
python manage.py import_nocodb
2124
```
2225

23-
If `DEBUG` is set to `True`, any import errors will be caught and logged to the console. If `DEBUG` is set to `False`, the import will fail immediately on any error and any changes will be rolled back.
26+
If `DEBUG` is set to `True`, any import errors will be caught and logged. If `DEBUG` is set to `False`, the import will fail immediately on any error and any changes will be rolled back.
2427

2528
## Rebuild Search Index
2629

0 commit comments

Comments
 (0)