Deploying a blog can be sometimes strenous, from Jekyll to Ghost CMS and Hugo, I've tried out quite a lot of CMS Deployment methods, but there's just one that more than meets my eye - CMS JS
How to set up CMS JS
CMS JS currently has two modes, Server mode and Github mode which means you can choose to host your content on Github with Github Pages or you can choose to self host your content.
How to set up server mode
- Clone the starter repo:
git clone https://github.com/chrisdiana/cms.js-starter.gitor download the latest release
- Navigate to js/config.js and modify the settings to your liking.
modeto GITHUB or SERVER mode based on your hosting environment
- If you're using Github mode, you'll want to make sure your Github settings are correct, then create a new branch from your master or working branch called
gh-pages(Github's default branch for hosting)
- And you're done!, as easy as you could imagine
Unfortunately, CMS JS does not provide so much fancy themes like most CMS providers do, though it is quite very easy to customise it comes with a few not so great themes.
You can find them here
If you enjoyed this post you can buy me a cofee to encourage me to write more techy stuff :D