From 877e6d7fcf4102880b2b8d06c1624fc6fddc8e7d Mon Sep 17 00:00:00 2001 From: Simon Pamies Date: Sat, 8 Feb 2025 14:55:02 +0100 Subject: [PATCH] Updated CONTRIBUTING.md as such that it runs the full package and not main.go --- CONTRIBUTING.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7c00de7..eed14d0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -91,9 +91,20 @@ We welcome pull requests (PRs). Please follow these guidelines: 4. **Run the backend server**: ```bash - go run main.go + mkdir dist + touch dist/index.html + go build + ./paperless-gpt ``` +5. **Run the backend server with frontend built in**: + + ```bash + cd web-app && npm install && npm run build && cp -r dist .. + go build + ./paperless-gpt + ``` + ### Frontend Setup 1. **Navigate to the frontend directory**: