-
Notifications
You must be signed in to change notification settings - Fork 81
修改config.py成config.py.example 补充README_EN.md丢失docker部署部分 #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,6 +129,21 @@ The default supported models are listed in the table below. | |
# Usage 📖 | ||
|
||
### install | ||
|
||
#### Run by Docker | ||
|
||
```bash | ||
git clone git@github.com:mimo-x/Code-Review-GPT-Gitlab.git | ||
|
||
cd Code-Review-GPT-Gitlab | ||
|
||
cp ./config/config.py.example ./config/config.py | ||
|
||
vim ./config/config.py | ||
|
||
docker run -d --network bridge --add-host=host.docker.internal:host-gateway -v ./config:/workspace/config -p 8080:80 --name codereview xuxin1/llmcodereview:latest | ||
``` | ||
Comment on lines
+132
to
+145
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Approve the new “Run by Docker” section and add 🤖 Prompt for AI Agents
|
||
|
||
#### Run by Source code | ||
1.**clone repo** | ||
```bash | ||
|
@@ -140,6 +155,7 @@ pip install -r requirements.txt | |
``` | ||
3.**modify config file** | ||
```bash | ||
cp ./config/config.py.example ./config/config.py | ||
vim config/config.py | ||
``` | ||
4.**run** | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Approve the config copy command and add
.gitignore
entry.The
cp ./config/config.py.example ./config/config.py
step is clear and correct. Please update.gitignore
to includeconfig/config.py
to prevent accidental commits of sensitive data.🤖 Prompt for AI Agents