From 926ec89f4890cb1c4b94a7ed78bc4c995ef984e3 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 11 Feb 2025 09:48:45 +0000 Subject: [PATCH] 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 +```