AI vector Forge

Docker-based Development Environment

This repository includes a Docker-based development environment to ensure a consistent and reproducible setup for all contributors.

Components

The environment is defined by several files:

Getting Started

To use the development environment, you must have Docker and Docker Compose installed on your system.

  1. Build and Run the Container: Open a terminal in the root of the repository and run the following command:

    docker-compose up -d
    

    This will build the Docker image (if it’s the first time) and start the container in the background.

  2. Verify It’s Running: Open your web browser and navigate to http://localhost:8080. You should see the word pong.

  3. Access the Environment: To open a shell inside the running container, use the following command:

    docker-compose exec dev /bin/bash
    

    You will now be inside the Ubuntu environment, where you can install any language-specific tools (like Python, Node.js, etc.) and run your code.

  4. Stopping the Environment: To stop the container, run:

    docker-compose down
    

Extending the Environment

You can easily extend this environment by modifying the docker/Dockerfile. For example, to install Python, you could add the following line:

RUN apt-get update && apt-get install -y python3 python3-pip