MetaGPT icon indicating copy to clipboard operation
MetaGPT copied to clipboard

feature: added configuration files for gitpod

Open PentesterPriyanshu opened this issue 1 year ago • 6 comments

added .gitpod.yml file for gitpod users this is missing so i added it

PentesterPriyanshu avatar Oct 27 '23 20:10 PentesterPriyanshu

@stellaHSR merge this pr

PentesterPriyanshu avatar Oct 27 '23 21:10 PentesterPriyanshu

I think your purpose is to automatically set up the environment in gitpod. So there are two issues to note:

  1. gitpod default python version is 3.12 which is not suitable for MetaGPT. You should change it to python3.9 or python3.10 in .gitpod.Dockefile
  2. The init command of MetaGPT is pip install -e. .

voidking avatar Oct 30 '23 03:10 voidking

I think your purpose is to automatically set up the environment in gitpod. So there are two issues to note:

1. gitpod default python version is 3.12 which is not suitable for MetaGPT. You should change it to python3.9 or python3.10 in `.gitpod.Dockefile`

2. The init command of MetaGPT is `pip install -e.` .

thanks for your reply i am now commiting all changes as you want

PentesterPriyanshu avatar Oct 30 '23 15:10 PentesterPriyanshu

@voidking now you can merge it ,

PentesterPriyanshu avatar Oct 30 '23 15:10 PentesterPriyanshu

This implementation is a bit complicated, please refer to this document. https://www.gitpod.io/docs/introduction/languages/python .gitpod.Dockerfile

FROM gitpod/workspace-python

RUN pyenv install 3.9 \
    && pyenv global 3.9

.gitpod.yml

# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.

# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart

image:
  file: .gitpod.Dockerfile

tasks:
  - init: |
    pip install -e.

voidking avatar Dec 04 '23 03:12 voidking

Please resolve all conflicts and Review comments

geekan avatar Dec 21 '23 03:12 geekan