mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-08 20:25:19 +02:00
docs(desktop): update README
This commit is contained in:
parent
5361f4cf24
commit
0c3f8f0e7e
1 changed files with 1 additions and 11 deletions
|
|
@ -23,18 +23,8 @@ Two `.env` files control the build:
|
|||
|
||||
**`surfsense_web/.env`** — Next.js environment variables baked into the frontend at build time:
|
||||
|
||||
```
|
||||
NEXT_PUBLIC_FASTAPI_BACKEND_URL=https://your-deployed-backend.com
|
||||
NEXT_PUBLIC_ELECTRIC_URL=https://your-deployed-electric.com
|
||||
NEXT_PUBLIC_ELECTRIC_AUTH_MODE=secure
|
||||
```
|
||||
|
||||
**`surfsense_desktop/.env`** — Electron-specific configuration:
|
||||
|
||||
```
|
||||
HOSTED_FRONTEND_URL=https://surfsense.net
|
||||
```
|
||||
|
||||
Set these before building.
|
||||
|
||||
## Build & Package
|
||||
|
|
@ -43,7 +33,7 @@ Set these before building.
|
|||
|
||||
```bash
|
||||
cd ../surfsense_web
|
||||
pnpm next build
|
||||
pnpm build
|
||||
```
|
||||
|
||||
**Step 2** — Compile Electron and prepare the standalone output:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue