From 5d9f4e8eca3bc903c967b83e3d0a5eb32a326621 Mon Sep 17 00:00:00 2001 From: Mario Lopez Date: Tue, 20 Feb 2018 20:32:25 -0500 Subject: [PATCH 1/5] Added Netlify deploy -- currently tied to my fork --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 4025df3..e4be56a 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. The example here is the Kaldi coffee company template (adapted from [Gatsby + Netlify CMS Starter](https://github.com/AustinGreen/gatsby-starter-netlify-cms)). 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) From 6231ec81ee1ea3a83a83bf5c85928c8cebf9b5f8 Mon Sep 17 00:00:00 2001 From: Mario Lopez Date: Tue, 20 Feb 2018 20:39:48 -0500 Subject: [PATCH 2/5] Tweaked Netlify text, added Netlify config --- README.md | 2 +- netlify.toml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 netlify.toml diff --git a/README.md b/README.md index e4be56a..de86894 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Install this starter (assuming Gatsby is installed) by running from your CLI: #### 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. The example here is the Kaldi coffee company template (adapted from [Gatsby + Netlify CMS Starter](https://github.com/AustinGreen/gatsby-starter-netlify-cms)). Use the button below to build and deploy your own copy of the repository: +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 diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..45f64bb --- /dev/null +++ b/netlify.toml @@ -0,0 +1,7 @@ +[build] + publish = "public" + command = "npm run build" +[build.environment] + YARN_VERSION = "1.3.2" + YARN_FLAGS = "--no-ignore-optional" + From 47923064d71dde6372263d66da910ecc88dc453e Mon Sep 17 00:00:00 2001 From: Mario Lopez Date: Tue, 20 Feb 2018 20:41:53 -0500 Subject: [PATCH 3/5] Netlify deploy button open in new tab --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index de86894..8962be4 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Install this starter (assuming Gatsby is installed) by running from your CLI: 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 +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. From eae733b5d01277109f2c6471afac856c985aa714 Mon Sep 17 00:00:00 2001 From: Mario Lopez Date: Tue, 20 Feb 2018 20:47:42 -0500 Subject: [PATCH 4/5] Changed URL to master repo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8962be4..8cd4501 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Install this starter (assuming Gatsby is installed) by running from your CLI: 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 +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. From bf4c94b13884d8db5219e815d11e9f71dbc0799f Mon Sep 17 00:00:00 2001 From: Mario Lopez Date: Tue, 20 Feb 2018 20:53:35 -0500 Subject: [PATCH 5/5] Changed to gatsby build --- netlify.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 45f64bb..24a62c8 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,7 +1,6 @@ [build] publish = "public" - command = "npm run build" + command = "gatsby build" [build.environment] YARN_VERSION = "1.3.2" YARN_FLAGS = "--no-ignore-optional" -