diff --git a/README.md b/README.md index 42718129f..4e2c3280d 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,45 @@ ### Usage detail installation please refer to [cli_install](https://docs.deepwisdom.ai/main/en/guide/get_started/installation.html#install-stable-version) or [docker_install](https://docs.deepwisdom.ai/main/en/guide/get_started/installation.html#install-with-docker) +### Docker installation +
⏬ Step 1: Download metagpt image and prepare config2.yaml :: click to expand :: +
+ +```bash +docker pull metagpt/metagpt:latest +mkdir -p /opt/metagpt/{config,workspace} +docker run --rm metagpt/metagpt:latest cat /app/metagpt/config/config2.yaml > /opt/metagpt/config/config2.yaml +vim /opt/metagpt/config/config2.yaml # Change the config +``` + +
+
+ +
⏬ Step 2: Run metagpt container :: click to expand :: +
+ +```bash +docker run --name metagpt -d \ + --privileged \ + -v /opt/metagpt/config/config2.yaml:/app/metagpt/config/config2.yaml \ + -v /opt/metagpt/workspace:/app/metagpt/workspace \ + metagpt/metagpt:latest +``` + +
+
+ +
⏬ Step 3: Use metagpt :: click to expand :: +
+ +```bash +docker exec -it metagpt /bin/bash +$ metagpt "Create a 2048 game" # this will create a repo in ./workspace +``` + +
+
+ ### QuickStart & Demo Video - Try it on [MetaGPT Huggingface Space](https://huggingface.co/spaces/deepwisdom/MetaGPT) - [Matthew Berman: How To Install MetaGPT - Build A Startup With One Prompt!!](https://youtu.be/uT75J_KG_aY)