Skip to content

itsluke/middleman-contentful-autobuild

Repository files navigation

Middleman Contentful Autobuild

A simple solution combining the simplicity of Middleman with updateable content through Contentful hosted on Heroku

Getting started

To get started clone the project and add ENV for:

CONTENTFUL_ACCESS_TOKEN="<contentful access token>"
CONTENTFUL_SPACE="<contentful space id>"
CONTENTFUL_MOCK_ID="<content type id>"

GIT_USER="<git username>"
GIT_REPO="<git repo>"
GIT_BRANCH="<git branch>"

# heroku auth:token
HEROKU_AUTH="<oAuth-token>"
HEROKU_APP="<app name>"

This can be done in an .env file for your local dev environment.

For Dev

bundle install
middleman contentful
middleman

To Build

bundle install
rackup

More information on setup can be found here

About

Test of auto building middleman site powered by contentful cms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published