This repository contains IRuby Jupyter notebooks and data for AI search training.
- Docker Desktop installed on your machine
- At least 4vCPUs, 6GB RAM, and 50GB disk allocated to Docker
- Git (to clone this repository)
- Clone the repository:
git clone https://github.com/thedayisntgray/ruby-ai-search-training
cd ruby-ai-search-training
- Start the container:
docker compose up
- Get the Jupyter access token by running:
docker compose logs jupyter
- Look for a line that looks like:
http://127.0.0.1:8888/lab?token=<your_token_here>
- Open your browser and go to:
- http://localhost:8888
- Copy and Paste the token from the logs when prompted
.
├── docker-compose.yml
├── notebooks/ # Jupyter notebooks
└── data/ # Data files
# Start the containers while logging to the terminal
docker compose up
# Start the containers in daemon mode (everything will run in the background)
docker compose up -d
# Stop the container
docker compose down
# View logs
docker compose logs jupyter
# Restart the containers
docker compose restart
# Rebuild the containers
docker compose build
If you can't access Jupyter:
- Ensure the container is running:
docker compose ps
- Check container logs:
docker compose logs jupyter
- Verify port 8888 is available:
lsof -i :8888
- Place notebooks in the
notebooks/
directory - Place data files in the
data/
directory - Files will automatically sync with the container