Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

A simple example to get started with Middleman and Static CMS on Netlify

License

Notifications You must be signed in to change notification settings

StaticJsCMS/static-cms-middleman-netlify-template

Repository files navigation

Middleman + Static CMS Starter

Netlify Status

This repo contains an example website that is built with Middleman and Static CMS.

Designed and developed by Tom Rutgers

If you want to use the external asset pipeline with ES6, Webpack & Babel have a look at this repository.

About the architecture

Middleman is a static site generator using all the shortcuts and tools in modern web development. Check out middlemanapp.com for detailed tutorials, including a getting started guide.

Static CMS is a CMS for static site generators. Give non-technical users a simple way to edit and add content to any site built with a static site generator.

Getting Started

Static CMS can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the deploy button below to copy the repository to your account.

Deploy to Netlify

After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. To access the CMS, you’ll need to set up Netlify identity service to authorize users to log in to the CMS. Make sure to enable Git Gateway.

Make it work on your machine

Using docker

$ docker-compose build
$ docker-compose run --service-ports web middleman server

Without docker

Be sure to check out the middleman installation guide

$ git clone https://github.com/StaticJsCMS/static-cms-middleman-netlify-template
$ cd static-cms-middleman-netlify-template
$ bundle install
$ middleman server

Setting up the CMS

Follow the Static CMS Quick Start Guide to set up authentication, and hosting.