mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
feat: add dev-runner script with tailscale-auth mode
Replace inline env vars in package.json dev scripts with a dedicated node script that supports --tailscale-auth for private-network dev. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d2d927bd2f
commit
7f58e783dd
3 changed files with 70 additions and 2 deletions
|
|
@ -29,6 +29,14 @@ This starts:
|
|||
- API server: `http://localhost:3100`
|
||||
- UI: served by the API server in dev middleware mode (same origin as API)
|
||||
|
||||
Tailscale/private-auth dev mode:
|
||||
|
||||
```sh
|
||||
pnpm dev --tailscale-auth
|
||||
```
|
||||
|
||||
This runs dev as `authenticated/private` and binds the server to `0.0.0.0` for private-network access.
|
||||
|
||||
## One-Command Local Run
|
||||
|
||||
For a first-time local install, you can bootstrap and run in one command:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue