docs(CONTRIBUTING): update dev instructions with package build step (#382)

This commit is contained in:
Corentin Thomasset
2025-06-25 13:37:12 +02:00
committed by GitHub
parent 6cedc30716
commit 56fb9ec2c4
2 changed files with 13 additions and 4 deletions

View File

@@ -84,7 +84,15 @@ We recommend running the app locally for development. Follow these steps:
pnpm install
```
3. Start the development server for the backend:
3. Build the monorepo packages:
As the apps rely on internal packages, you need to build them first.
```bash
pnpm build:packages
```
4. Start the development server for the backend:
```bash
cd apps/papra-server
@@ -94,7 +102,7 @@ We recommend running the app locally for development. Follow these steps:
pnpm dev
```
4. Start the frontend:
5. Start the frontend:
```bash
cd apps/papra-client
@@ -102,7 +110,7 @@ We recommend running the app locally for development. Follow these steps:
pnpm dev
```
5. Open your browser and navigate to `http://localhost:3000`.
6. Open your browser and navigate to `http://localhost:3000`.
### Testing

View File

@@ -10,7 +10,8 @@
"docker:build:root": "docker build -t papra -f docker/Dockerfile .",
"docker:build:rootless": "docker build -t papra-rootless -f docker/Dockerfile.rootless .",
"version": "changeset version && pnpm install --no-frozen-lockfile",
"changeset": "changeset"
"changeset": "changeset",
"build:packages": "pnpm --filter './packages/*' --stream build"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.1",