Skip to content

KeystoneHQ/k-cms

 
 

Repository files navigation

Keystone CMS Tutorial and Blog Website

This project is a CMS tutorial and blog publishing website based on Keystone, with content managed in Notion. The site is built using Docusaurus and deployed on Vercel.

Features

  • Content management using Notion
  • Docusaurus-powered static site generation
  • Multilingual support with i18n (see usage)
  • Easy deployment on Vercel
  • Regular backups of documentation on the archive-docs branch

Prerequisites

Getting Started

  1. Clone the repository:
git clone https://github.com/accountlabs-static/k-cms.git
cd k-cms
  1. Install dependencies:
pnpm install
  1. Set up the environment variables:
# Copy the .env.example file to .env and fill in the required values.
cp .env.example .env
# Then edit .env with your favourite text editor
  1. Pull content from Notion:
pnpm run pull
  1. Start the development server:
pnpm run start

Open your browser and visit http://localhost:3000.

Known Limitations

  • Only standard Markdown formatting is supported in Notion content.
  • Specific embeds, such as YouTube and Twitter, are supported. Other embeds might not be rendered correctly.
  • Images should be uploaded directly to Notion from your local device. Pasting image links from external sources may cause errors.
  • Custom slugs for sub-pages (articles within subdirectories) in Notion are not supported.

中文版本

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 62.4%
  • TypeScript 23.1%
  • SCSS 11.9%
  • CSS 2.6%