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**: