项目作者: mdarkhorse

项目描述 :
Contentful Gatsby Blog
高级语言: JavaScript
项目地址: git://github.com/mdarkhorse/contentful-gatsby-blog.git
创建时间: 2019-06-06T13:03:10Z
项目社区:https://github.com/mdarkhorse/contentful-gatsby-blog

开源协议:MIT License

下载


Contentful Gatsby Starter Blog

Create a Gatsby blog powered by Contentful. This is a simplified version of the Gatsby Contentful Starter which is maintained by our Community.

The index page of the starter blog

Static sites are scalable, secure and have very little required maintenance. They come with a drawback though. Not everybody feels good editing files, building a project and uploading it somewhere. This is where Contentful comes into play.

With Contentful and Gatsby you can connect your favorite static site generator with an API that provides an easy to use interface for people writing content and automate the publishing using services like Travis CI or Netlify.

Features

Getting started

See our official Contentful getting started guide.

Crucial Commands

npm run dev

Run the project locally with live reload in development mode.

npm run build

Run a production build into ./public. The result is ready to be put on any static hosting you prefer.

npm run serve

Spin up a production-ready server with your blog. Don’t forget to build your page beforehand.

Deployment

See the official Contentful getting started guide.

Contribution

Feel free to open pull requests to fix bugs. If you want to add features, please have a look at the original version. It is always open to contributions and pull requests.

You can learn more about how Contentful userland is organized by visiting our about repository.