Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save shaneholloman/3ee03302da02b2a424393554142b00d1 to your computer and use it in GitHub Desktop.

Select an option

Save shaneholloman/3ee03302da02b2a424393554142b00d1 to your computer and use it in GitHub Desktop.
This code snippet creates and installs OpenDevin, sets up a Docker container with the specified key. It then configures SSH to install Rusts from TLSv1.2 using pip's orjson issue (MacOS), downloads requirements

Setting up OpenDevin Environment with Python, Docker, and Rust

Preview

git clone https://github.com/OpenDevin/OpenDevin.git
cd OpenDevin
conda create -n od python=3.10
conda activate od
docker ps
(optional) install docker if not already installed
docker pull ghcr.io/opendevin/sandbox
export OPENAI_API_KEY={your key}
(optional I had to install rust) curl --proto '=https' --tlsv1.2 -sSf [https://sh.rustup.rs](https://sh.rustup.rs/) | sh
(optional) restart terminal
python -m pip install -r requirements.txt
(optional) orjson issue (MacOS)
  - pip uninstall orjson
  - pip install --no-cache-dir --only-binary :all: orjson
uvicorn opendevin.server.listen:app --port 3000
Associated Context
Type Code Snippet ( .sh )
Associated Tags Git clone OpenDevin conda create Conda activate docker ps OPENAI_API_KEY curl command rust installation restart terminal pip uninstall orjson issue Framework: None git clone conda docker python rust uvicorn
💡 Smart Description This code snippet creates and installs OpenDevin, sets up a Docker container with the specified key. It then configures SSH to install Rusts from TLSv1.2 using pip's orjson issue (MacOS), downloads requirements
Instructions for setting up the OpenDevin environment using Python, Docker, and Rust with optional steps.
🔎 Suggested Searches How to clone OpenDevin Git repository?
Related Links https://github.com/OpenDevin/OpenDevin.git
https://git-scm.com/docs/git-remote
https://git-scm.com/docs/git-stash
https://git-scm.com/docs/git-config
Related People Shane Holloman
Sensitive Information No Sensitive Information Detected
Shareable Link https://shaneholloman.pieces.cloud/?p=8fbf42b9a1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment