diff --git a/README.md b/README.md index 4025df3..8cd4501 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,14 @@ Install this starter (assuming Gatsby is installed) by running from your CLI: #### Building `gatsby build` +#### Deploy with Netlify + +Netlify CMS can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the button below to build and deploy your own copy of the repository: + +Deploy to Netlify + +After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. Next, you’ll need to set up Netlify’s Identity service to authorize users to log in to the CMS. + ## Screenshot ![](http://i.imgur.com/422y5GV.png) diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..24a62c8 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,6 @@ +[build] + publish = "public" + command = "gatsby build" +[build.environment] + YARN_VERSION = "1.3.2" + YARN_FLAGS = "--no-ignore-optional"