Updated CONTRIBUTING.md as such that it runs the full package and not main.go

This commit is contained in:
Simon Pamies 2025-02-08 14:55:02 +01:00
parent 4e71f5f841
commit 877e6d7fcf

View file

@ -91,9 +91,20 @@ We welcome pull requests (PRs). Please follow these guidelines:
4. **Run the backend server**: 4. **Run the backend server**:
```bash ```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 ### Frontend Setup
1. **Navigate to the frontend directory**: 1. **Navigate to the frontend directory**: