mirror of
https://github.com/icereed/paperless-gpt.git
synced 2025-03-12 21:08:00 -05:00
Updated CONTRIBUTING.md as such that it runs the full package and not main.go
This commit is contained in:
parent
4e71f5f841
commit
877e6d7fcf
1 changed files with 12 additions and 1 deletions
|
@ -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**:
|
||||
|
|
Loading…
Reference in a new issue