Add Makeflie

This commit is contained in:
Elijah McMorris 2024-08-06 23:24:42 -07:00
parent 4d3e2c5b72
commit afc20907a6
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
9 changed files with 129 additions and 109 deletions

View file

@ -20,7 +20,7 @@ https://www.wikidata.org/wiki/Special:EntityData/P527.json
```
# Install
Copy [docker-compose.yml](./docker-compose.yml)
Copy [docker-compose-surrealdb.yml](./docker-compose-surrealdb.yml)
Create data folder next to docker-compose.yml and .env, place data inside, and set the data type in .env
```
@ -28,14 +28,19 @@ Create data folder next to docker-compose.yml and .env, place data inside, and s
│ ├── Entity.json
│ ├── latest-all.json.bz2
│ └── surrealdb
├── Makefile
├── docker-compose.yml
└── .env
```
`docker compose up --pull always -d`
### Then run:
`make up-surrealdb`
### Exit with:
`make down-surrealdb`
## View Progress
`docker attach wikidata-to-surrealdb`
`make view`
## Example .env
```