DevZero Logo
DevZero

OpenDevin

OpenDevin starter template for DevZero.

OPEN IN DEVZERO

What is OpenDevin?

OpenDevin is an open-source platform tailored to simplify application development and deployment. It provides a developer-friendly environment for managing projects, automating workflows, and deploying applications effectively. By leveraging open-source principles, it combines flexibility and a robust toolset, making it suitable for teams managing projects on their own infrastructure or in the cloud.

Features

  • Fast Deployment: Automates application deployment processes.
  • Customizable Framework: Configurable to align with specific project needs.
  • Workflow Automation: Reduces manual effort by handling repetitive tasks.
  • Integration Support: Connects with widely used development tools and services.

Benefits

OpenDevin provides a user-focused approach to managing applications, helping teams prioritize development without being burdened by infrastructure challenges. Its open-source model ensures adaptability, transparency, and the avoidance of vendor lock-in. OpenDevin’s support for integrations and its ability to automate workflows make it an efficient option for managing projects of varying scales. Teams looking for a reliable and flexible development platform will find it a valuable asset.

OpenDevin with DevZero

When paired with DevZero, OpenDevin streamlines the management of development environments. It enables developers to automate application deployment, handle configurations, and align projects with cloud-based or on-premises infrastructure requirements. This integration is perfect for dynamic setups where adaptability and automation are key.

Advantages

  • Integration with DevZero: Works within ephemeral environments for dynamic development.
  • Improved Efficiency: Automates deployment and reduces manual configuration tasks.
  • Scalability: Supports both small-scale and large-scale projects with ease.

Recipe for OpenDevin

OpenDevin

version: "3"
build:
  steps:
    - type: apt-get
      packages: ["build-essential", "curl", "git", "nano", "software-properties-common", "ssh", "sudo", "tar", "unzip", "vim", "wget", "zip", "docker-ce", "docker-ce-cli", "containerd.io"]
      extra_repositories:
        - key_url: https://download.docker.com/linux/ubuntu/gpg
          repository: https://download.docker.com/linux/ubuntu
    - type: command
      name: "Enable Docker Daemon"
      command: |
        usermod -aG docker devzero
        systemctl enable docker.service
        systemctl enable containerd.service
      directory: /home/devzero
      user: root

launch:
  steps:
  - type: command
    command: |-
        systemctl stop docker
        echo -e "{"data-root": "$(ls -d /mnt/*/)docker"}" > /etc/docker/daemon.json
        systemctl start docker
    user: root
  - type: command
    command: |
        cd /mnt/*
        export WORKSPACE_BASE=$(pwd)/workspace
        docker pull ghcr.io/all-hands-ai/runtime:0.11-nikolaik
        docker run -it --pull=always             -e SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.11-nikolaik             -e SANDBOX_USER_ID=$(id -u)             -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE             -v $WORKSPACE_BASE:/opt/workspace_base             -v /var/run/docker.sock:/var/run/docker.sock             -p 3000:3000             --add-host host.docker.internal:host-gateway             --name openhands-app-$(date +%Y%m%d%H%M%S)             ghcr.io/all-hands-ai/openhands:0.11

On this page