more error handling and overwrite option

This commit is contained in:
Elijah McMorris 2023-12-18 02:38:46 -08:00
parent e37d413372
commit 8905c88819
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
8 changed files with 76 additions and 23 deletions

View file

@ -16,7 +16,7 @@ https://www.wikidata.org/wiki/Special:EntityData/P527.json
```
# Install
Copy docker-compose.yml
Copy [docker-compose.yml](./docker-compose.yml)
Create data folder next to docker-compose.yml and .env, place data inside, and set the data type in .env
```
@ -40,6 +40,8 @@ FILE_NAME=data/latest-all.json.bz2
# If not using docker file for Wikidata to SurrealDB, use 0.0.0.0:8000
WIKIDATA_DB_PORT=surrealdb:8000
THREADED_REQUESTS=true
# true=overwrite existing data, false=skip if already exists
OVERWRITE_DB=false
```
## View Progress