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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ frontend/node_modules/
.env.*.local
.envrc
.direnv/
.local/
*.key

# IDE files
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,15 @@ bun run dev
bun tauri dev
```

Expects a `VITE_OPEN_SECRET_API_URL` environment variable to be set. The public
OpenSecret client id defaults to Maple's project id
Expects a `VITE_OPEN_SECRET_API_URL` environment variable to be set. For local
OpenSecret development, copy `frontend/.env.example` to `frontend/.env.local`
and point it at the local API:

```bash
VITE_OPEN_SECRET_API_URL=http://127.0.0.1:3000
```

The public OpenSecret client id defaults to Maple's project id
`ba5a14b5-d915-47b1-b7b1-afda52bc5fc6`, so `VITE_CLIENT_ID` is only needed to
override the default. (See `.env.example`)

Expand Down
4 changes: 2 additions & 2 deletions frontend/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VITE_OPEN_SECRET_API_URL=http://0.0.0.0:3000
# Public OpenSecret project id. Optional; the app uses this value by default.
VITE_CLIENT_ID=ba5a14b5-d915-47b1-b7b1-afda52bc5fc6
#VITE_MAPLE_BILLING_API_URL=http://0.0.0.0:3001
VITE_OPEN_SECRET_API_URL=http://127.0.0.1:3000
#VITE_MAPLE_BILLING_API_URL=http://127.0.0.1:3001
#VITE_DEV_MODEL_OVERRIDE=gpt-4o
Loading