Skip to content

thedayisntgray/ruby-ai-search-training

Repository files navigation

Ruby AI Training - Exercises for the Course

This repository contains IRuby Jupyter notebooks and data for AI search training.

Setup & Running

Prerequisites

  • Docker Desktop installed on your machine
  • At least 4vCPUs, 6GB RAM, and 50GB disk allocated to Docker
  • Git (to clone this repository)

Running the Container

  1. Clone the repository:
git clone https://github.com/thedayisntgray/ruby-ai-search-training
cd ruby-ai-search-training
  1. Start the container:
docker compose up

Accessing Jupyter Notebook

  1. Get the Jupyter access token by running:
docker compose logs jupyter
  1. Look for a line that looks like:
http://127.0.0.1:8888/lab?token=<your_token_here>
  1. Open your browser and go to:

Project Structure

.
├── docker-compose.yml
├── notebooks/          # Jupyter notebooks
└── data/              # Data files

Common Commands

# 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

Troubleshooting

If you can't access Jupyter:

  1. Ensure the container is running:
docker compose ps
  1. Check container logs:
docker compose logs jupyter
  1. Verify port 8888 is available:
lsof -i :8888

Adding Content

  • Place notebooks in the notebooks/ directory
  • Place data files in the data/ directory
  • Files will automatically sync with the container

About

AI Powered Search Training! These are the labs to go with our comprehensive training course.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages