Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

This is a monorepo managed with pnpm workspaces.

## Package setup

Some packages (e.g. `morecantile`, `geozarr`) reference files from git submodules.
Initialize them before building.

```bash
# Initialize git submodules (required for the build)
git submodule update --init --recursive

# Install dependencies
pnpm install

Expand All @@ -11,7 +19,11 @@ pnpm build

# Watch mode for development
pnpm build:watch
```

## Package Testing

```bash
# Run tests in all packages
pnpm test

Expand Down
13 changes: 3 additions & 10 deletions examples/cog-basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,13 @@ The example displays 10m resolution RGB imagery of New Zealand from LINZ (Land I

## Setup

1. Install dependencies from the repository root:
```bash
pnpm install
```
1. Follow instructions for package setup in [DEVELOP.md](../../DEVELOP.md#package-setup).

2. Build the packages:
```bash
pnpm build
```
2. Run the development server:

3. Run the development server:
```bash
cd examples/cog-basic
pnpm dev
```

4. Open your browser to http://localhost:3000
3. Open your browser to http://localhost:3000
Loading