Before building the project for the first time or after major changes:
- Clean the environment:
./cleanup.sh
- Start the services:
./start_services.sh
This will:
- Verify clean environment
- Build and start Docker containers
- Initialize all services
-
If you see permission or xattr errors:
- Run
./cleanup.sh
first - Then run
./start_services.sh
- Run
-
If you see symlink or metadata files (._*):
- Run
./cleanup.sh
to remove them - Check that no symlinks exist before proceeding
- Run
-
First-time setup:
git clone <repository> cd RAG-Docker ./cleanup.sh ./start_services.sh
-
After pulling new changes:
./cleanup.sh ./start_services.sh
-
When modifying Docker files:
./cleanup.sh ./start_services.sh
You can verify the system is running correctly:
# Check container status
docker-compose -f docker/docker-compose.yml ps
# Check logs
docker-compose -f docker/docker-compose.yml logs