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,7 +91,18 @@ 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