3.0.0 • Published 4 years ago

gatsby-theme-rayriffy-blog v3.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

rayriffy-blog

All new Riffy Blog based on GatsbyJS generator.

Demo

blog.rayriffy.com

Requirements

Installation & Usage

1. Configure Contentful

Create a workspace and import content model with this provided JSON files.

Then, create at least one entitly of each content model and create an API Key in order to get Access Token and Space ID.

2. Configure app

Pull a source first

$ git clone https://github.com/rayriffy/rayriffy-blog

Then install its dependencies

$ yarn

Finally customize your own favicon here and here, logo and site metadata

2. Developing

For development environment, we can use Content Preview API - access token to fetch contents

$ export CONTENTFUL_SPACE_ID=<SPACE ID HERE>
$ export CONTENTFUL_ACCESS_TOKEN=<PREVIEW TOKEN HERE>
$ yarn dev

Then develop it as you wish cause it is MIT license!

3. Deploying

In order to deploy them to production, we use CONTENTFUL_SPACE_ID and CONTENTFUL_ACCESS_TOKEN as same as developing but in this case access token will be Content Delivery API - access token

$ export CONTENTFUL_SPACE_ID=<SPACE ID HERE>
$ export CONTENTFUL_ACCESS_TOKEN=<DEPLOY TOKEN HERE>
$ yarn build

After build process is completed, you can use public/ directory for publishing deployment.

Contributing

We welcome all contributions by sending PR to this repository.

Need Help ?

If you need help with anything, here're following methods:

Create an Issue

If you have something you want to discuss in detail, or have hit an issue which you believe others will also have in deployment or development of the system, opening an issue is the best way to get help. It creates a permanent resource for others wishing to contribute to conversation.