Skip to content

Github Mode

Chris Diana edited this page Dec 11, 2018 · 1 revision

In Github mode, CMS.js uses the Github API to get the content of your repo and serve it as a full website. Follow the steps below to get setup:

  1. Clone the starter repo: git clone https://github.com/chrisdiana/cms.js-starter.git or download the latest release here
  2. Configure js/config.js to your liking
  3. Make sure to set your Github settings in js/config.js
  4. Create a new branch from your master or working branch called gh-pages (Github's default branch for hosting)
  5. Visit your site! (which should be located at https://yourusername.github.io/cms.js-starter)
Clone this wiki locally