From 926ec89f4890cb1c4b94a7ed78bc4c995ef984e3 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 11 Feb 2025 09:48:45 +0000 Subject: [PATCH 1/3] Create devc-welcome.md --- .devcontainer/devc-welcome.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .devcontainer/devc-welcome.md diff --git a/.devcontainer/devc-welcome.md b/.devcontainer/devc-welcome.md new file mode 100644 index 00000000..8560a578 --- /dev/null +++ b/.devcontainer/devc-welcome.md @@ -0,0 +1,26 @@ +# Welcome to DocsGPT Devcontainer + +Welcome to the DocsGPT development environment! This guide will help you get started quickly. + +## Starting Services + +To run DocsGPT, you need to start three main services: Flask (backend), Celery (task queue), and Vite (frontend). Here are the commands to start each service within the devcontainer: + +### Vite (Frontend) + +```bash +cd frontend +npm run dev -- --host +``` + +### Flask (Backend) + +```bash +flask --app application/app.py run --host=0.0.0.0 --port=7091 +``` + +### Celery (Task Queue) + +```bash +celery -A application.app.celery worker -l INFO +``` From 5f42e4ac3f3270fbfa40705e03f4b0a8d4be6b50 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 11 Feb 2025 09:53:26 +0000 Subject: [PATCH 2/3] fix: default file codespace --- .devcontainer/devcontainer.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a86b8b66..16188e32 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -13,6 +13,12 @@ "esbenp.prettier-vscode", "dbaeumer.vscode-eslint" ] - } + }, + "codespaces": { + "openFiles": [ + ".devcontainer/devc-welcome.md", + "CONTRIBUTING.md" + ] + } } } \ No newline at end of file From 72e9fcc8950964a21ee93f2a058c22c9b3e62a9c Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 11 Feb 2025 16:08:48 +0000 Subject: [PATCH 3/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ae8ec99..ba042bd8 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,11 @@ - [x] Full GoogleAI compatibility (Jan 2025) - [x] Add tools (Jan 2025) +- [x] Manually updating chunks in the app UI (Feb 2025) +- [ ] Devcontainer for easy development (Feb 2025) - [ ] Anthropic Tool compatibility - [ ] Add triggerable actions / tools (webhook) - [ ] Add OAuth 2.0 authentication for tools and sources -- [ ] Manually updating chunks in the app UI -- [ ] Devcontainer for easy development - [ ] Chatbots menu re-design to handle tools, scheduling, and more You can find our full roadmap [here](https://github.com/orgs/arc53/projects/2). Please don't hesitate to contribute or create issues, it helps us improve DocsGPT!