gatsby-theme-rayriffy-blog v3.0.0
rayriffy-blog
All new Riffy Blog based on GatsbyJS generator.
Demo
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-blogThen install its dependencies
$ yarnFinally 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 devThen 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 buildAfter 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.
6 years ago