From ffef8d6532b0c51614fd707d8e333899b5b2231a Mon Sep 17 00:00:00 2001 From: Wayne Sutton Date: Sun, 14 Dec 2025 21:53:00 -0800 Subject: [PATCH] readme: updated with npm run sync:prod commands --- README.md | 2 +- content/blog/setup-guide.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9f4dd16..906822e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A minimalist markdown site built with React, Convex, and Vite. Optimized for SEO, AI agents, and LLM discovery. -**How publishing works:** Write posts in markdown, run `npm run sync`, and they appear on your live site immediately. No rebuild or redeploy needed. Convex handles real-time data sync, so all connected browsers update automatically. +**How publishing works:** Write posts in markdown, run `npm run sync` for development or `npm run sync:prod` for production, and they appear on your live site immediately. No rebuild or redeploy needed. Convex handles real-time data sync, so all connected browsers update automatically. ## Features diff --git a/content/blog/setup-guide.md b/content/blog/setup-guide.md index 3eb275e..6a3dbc1 100644 --- a/content/blog/setup-guide.md +++ b/content/blog/setup-guide.md @@ -26,7 +26,7 @@ This guide walks you through forking [this markdown site](https://github.com/way - [Step 3: Sync Your Blog Posts](#step-3-sync-your-blog-posts) - [Step 4: Run Locally](#step-4-run-locally) - [Step 5: Get Your Convex HTTP URL](#step-5-get-your-convex-http-url) - - [Step 6: Configure Netlify Redirects](#step-6-configure-netlify-redirects) + - [Step 6: Verify Edge Functions](#step-6-verify-edge-functions) - [Step 7: Deploy to Netlify](#step-7-deploy-to-netlify) - [Option A: Netlify CLI](#option-a-netlify-cli) - [Option B: Netlify Dashboard](#option-b-netlify-dashboard) @@ -481,8 +481,9 @@ Your blog includes these API endpoints for search engines and AI: ### Posts not appearing 1. Check that `published: true` in frontmatter -2. Run `npm run sync` to sync posts -3. Verify posts exist in Convex dashboard +2. Run `npm run sync` to sync posts to development +3. Run `npm run sync:prod` to sync posts to production +4. Verify posts exist in Convex dashboard ### RSS/Sitemap not working