2024-06-26 16:01:41 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
################################
|
|
|
|
### Docker configuration ###
|
|
|
|
################################
|
|
|
|
sudo chmod 666 /var/run/docker.sock
|
|
|
|
|
|
|
|
################################
|
|
|
|
### Dependency configuration ###
|
|
|
|
################################
|
|
|
|
|
|
|
|
# Install graphrag dependencies
|
2024-12-04 15:01:44 -05:00
|
|
|
ROOT_DIR=/graphrag-accelerator
|
|
|
|
cd ${ROOT_DIR}
|
|
|
|
poetry install --no-interaction -v --directory ${ROOT_DIR}/backend
|
2024-06-26 16:01:41 -04:00
|
|
|
|
|
|
|
#########################
|
|
|
|
### Git configuration ###
|
|
|
|
#########################
|
2024-12-04 15:01:44 -05:00
|
|
|
git config --global --add safe.directory ${ROOT_DIR}
|
2024-06-26 16:01:41 -04:00
|
|
|
pre-commit install
|