Blog template made with roots static generator
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin
assets
blog
data
views
.gitignore
_redirects
app.coffee
app.production.coffee
package-lock.json
package.json
readme.md

readme.md

Roots + WebriQ CMS

This is a simple example of how to integrate Webriq CMS with a roots based site.

Redirects

/blog/* /:splat 301!
/* /blog/:splat 200

Setting up

  • Install node application in your system.

  • Install roots in your system globally npm i roots -g if you haven't done this before.

  • Make sure to install the netlify-git-api before you start.

Then:

git clone https://github.com/webriq/starter-template
cd starter-template
netlify-git-api users add
netlify-git-api serve

Open a separate terminal window and run:

npm install
roots watch

Using

Visit localhost:1111 to browser the site.

Visit localhost:1111/admin to use the CMS.

To run against the GitHub API in production, edit the production backend settings for admin/config.yml with the correct repository and branch.