-
Notifications
You must be signed in to change notification settings - Fork 5
Docker Dev Setup
This guide walks you through the base environment setup required to test and develop with the JoeyLLM model. The environment is built using a Docker container that includes all necessary dependencies and is where core development and testing take place.
By using this base environment:
-
We ensure consistency across all contributors and development systems
-
We make it easier to scale training and inference across larger infrastructures
-
We reduce issues that arise from differing package versions or system libraries
Stick with this setup to avoid frustrating bugs and to ensure your work is compatible with the main JoeyLLM development pipeline.
We provide a pre-built Docker image hosted on Docker Hub.
-
Pull the image:
docker pull southerncrossai/joeyllm
-
Create the Container
docker create -it --name joeyllm_dev southerncrossai/joeyllm /bin/bash
-
Start/Attach Container
docker start -ai joeyllm_dev
-
Stop Container (do this once you are finished)
docker stop joeyllm_dev
Choose one of the following options to get the code inside your Docker container:
git clone https://github.com/southern-cross-ai/JoeyLLM.gitReplace the URL with your own GitHub fork if you're contributing changes:
git clone https://github.com/YOUR_USERNAME/JoeyLLM.gitThen navigate into the project folder:
cd JoeyLLMIt's recommended to use a virtual environment to isolate dependencies. Run the following commands inside the container after cloning the repo:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtThis ensures all necessary Python packages for JoeyLLM are installed in a clean, contained environment.
In the next phase, we'll begin exploring and testing the contents of the JoeyLLM repository, including:
- Understanding the repo structure
- Running tests
- Making and reviewing changes
This environment setup is your starting point. From here, you’ll be able to contribute, debug, and validate model behavior directly inside a controlled containerized environment.