-
Notifications
You must be signed in to change notification settings - Fork 288
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:
- Clone the starter repo:
git clone https://github.com/chrisdiana/cms.js-starter.git
or download the latest release here - Configure
js/config.js
to your liking - Make sure to set your Github settings in
js/config.js
- Create a new branch from your master or working branch called
gh-pages
(Github's default branch for hosting) - Visit your site! (which should be located at
https://yourusername.github.io/cms.js-starter
)