Matthias Gieselmann

Matthias Gieselmann

How writing and editing blog entries works

😎

Local editing

  1. Fire up the dev environment with npm run dev
  2. Open the site on http://localhost:3000, and the admin panel on http://localhost:3000/admin
  3. Write
  4. Hit Publish and preview in the other tab. (The side by side preview doesn't work because I didn't get live markdown conversion to work.)
  5. Hit save to save changes to the local file system
  6. Commit and push to origin to trigger a deploy. Deploys take ~2 minutes.
  7. Preview on production site https://blogtest.mgieselmann.com

Note:

  • To change a post's slug, edit its filename. Do this sparingly, because SEO.
← Back to home