- Update default model to meta-llama/llama-4-scout-17b-16e-instruct in ClientChatStore

- Revise deployment steps and docs for `GROQ_API_KEY`
- Enable `workers_dev` in `wrangler.jsonc`
- Adjust hero label to `open-gsio` in routes
- Update `.gitignore` to include sensitive config files
- Add `deploy:secrets` script in `package.json`
This commit is contained in:
geoffsee
2025-05-28 21:23:35 -04:00
parent 5cb5905125
commit 3f717fab1b
6 changed files with 16 additions and 13 deletions

5
.gitignore vendored
View File

@@ -2,4 +2,7 @@
/dist/
**/.wrangler/
/.idea/
public/sitemap.xml
public/sitemap.xml
.dev.vars
secrets.json
wrangler.dev.jsonc

View File

@@ -1,8 +1,5 @@
## open-geoff-seemueller-io
Fork of [geoff.seemueller.io](https://geoff.seemueller.io).
### Stack:
- vike
- react
@@ -12,16 +9,18 @@ Fork of [geoff.seemueller.io](https://geoff.seemueller.io).
## Quickstart
1. `bun i`
2. `bun run build`
3. Configure .dev.vars
4. Setup KV_STORAGE bindings for local development.
5. In isolated shells, run `bun run server:dev` and `bun run client:dev`
1. `bun run build`
1. [Add your own `GROQ_API_KEY` in .dev.vars](https://console.groq.com/keys)
1. In isolated shells, run `bun run server:dev` and `bun run client:dev`
> Note: it should be possible to use pnpm in place of bun
## Deploying
1. Find all instances of example.com in this repository and replace with your domain.
2. Run `wrangler deploy:all`
1. Setup the KV_STORAGE bindings in `wrangler.jsonc`
1. [Add another `GROQ_API_KEY` in secrets.json](https://console.groq.com/keys)
1. Run `bun run deploy && bun run deploy:secrets && bun run deploy`
> Note: Subsequent deployments should omit `bun run deploy:secrets`
History
---

View File

@@ -9,6 +9,7 @@
"client:build": "vite build",
"server:build": "WRANGLER_LOG=info wrangler build",
"deploy": "CI=true vite build && wrangler deploy --minify",
"deploy:secrets": "wrangler secret bulk secrets.json",
"deploy:email-service": "wrangler deploy --cwd workers/email",
"deploy:analytics-service": "wrangler deploy --cwd workers/analytics",
"deploy:session-proxy": "wrangler deploy --cwd workers/session-proxy",

View File

@@ -1,6 +1,6 @@
// Top level control interface for navigation
export default {
"/": { sidebarLabel: "Home", heroLabel: "g.s" },
"/": { sidebarLabel: "Home", heroLabel: "open-gsio" },
// "/about": { sidebarLabel: "About", heroLabel: "About Me" },
// "/resume": { sidebarLabel: "Resume", heroLabel: "resume" },
// "/demo": { sidebarLabel: "Demo", heroLabel: "Demos" },

View File

@@ -7,7 +7,7 @@ const ClientChatStore = types
messages: types.optional(types.array(Message), []),
input: types.optional(types.string, ""),
isLoading: types.optional(types.boolean, false),
model: types.optional(types.string, "llama-3.3-70b-versatile"),
model: types.optional(types.string, "meta-llama/llama-4-scout-17b-16e-instruct"),
imageModel: types.optional(types.string, "black-forest-labs/flux-1.1-pro"),
})
.actions((self) => ({

View File

@@ -14,7 +14,7 @@
],
"main": "./workers/site/worker.ts",
"preview_urls": false,
"workers_dev": false,
"workers_dev": true,
"kv_namespaces": [
{
"binding": "KV_STORAGE",