Skip to content
Open
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
11 changes: 11 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Pascal Editor",
"image": "oven/bun:1.3.0",
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"postCreateCommand": "bun install",
"forwardPorts": [3002]
}
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bun install
bun dev
```

The editor will be running at **http://localhost:3000**. That's it!
The editor will be running at **http://localhost:3002**. That's it!

### Optional

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ bun dev
# 1. Build @pascal-app/core and @pascal-app/viewer
# 2. Start watching both packages for changes
# 3. Start the Next.js editor dev server
# Open http://localhost:3000
# Open http://localhost:3002
```

**Important:** Always run `bun dev` from the root directory to ensure the package watchers are running. This enables hot reload when you edit files in `packages/core/src/` or `packages/viewer/src/`.
Expand Down
4 changes: 2 additions & 2 deletions SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bun install
bun dev
```

The editor will be running at **http://localhost:3000**.
The editor will be running at **http://localhost:3002**.

## Environment Variables (optional)

Expand All @@ -24,7 +24,7 @@ cp .env.example .env
| Variable | Required | Description |
|----------|----------|-------------|
| `NEXT_PUBLIC_GOOGLE_MAPS_API_KEY` | No | Enables address search in the editor |
| `PORT` | No | Dev server port (default: 3000) |
| `PORT` | No | Dev server port (default: 3002) |

The editor works fully without any environment variables.

Expand Down
2 changes: 1 addition & 1 deletion apps/editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ pnpm install
# Run development server
pnpm dev

# Open http://localhost:3000
# Open http://localhost:3002
```

---
Expand Down