Skip to content

ncphillips/gatsby-tinacms-netlify-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-tinacms-netlify-prototype

A TinaCMS + Gatsby Plugin that adds a Netlify screen to the sidebar.

This project is just a prototype.

Configuration

  1. Create a Netlify personal access token

    Go to Netlify to create the token.

  2. Add the token to your environment

    .bashrc

    export NETLIFY_TOKEN=mynewnetlifytokengoeshere
    
  3. Install the gatsby-tinacms-netlify-prototype

    npm i gatsby-tinacms-netlify-prototype
    
  4. Add gatsby-tinacms-netlify-prototype to your gatsby-config.js

    module.exports = {
      // ...
      plugins: [
        {
          resolve: "gatsby-plugin-tinacms",
          options: {
            plugins: [
              {
                resolve: "gatsby-tinacms-screen-prototype",
                options: {
                  // Name of your Netlify site. (See the URL)
                  site: "my-site-name",
                  token: process.env.NETLIFY_TOKEN,
                },
              },
            ],
          },
        },
        // ...
      ]
    }
  5. Start Gatsby and open the global menu

    Done!

About

A prototype Gatsby plugin for adding a Netlify screen to TinaCMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published