From 76e41882747d6505df42c3953ebb87006826577a Mon Sep 17 00:00:00 2001 From: Shusaku Uesugi Date: Thu, 11 Jun 2020 16:26:53 -0700 Subject: [PATCH] Update deploy section --- examples/cms-agilitycms/README.md | 14 +++++++++++++- examples/cms-buttercms/README.md | 14 +++++++++++++- examples/cms-contentful/README.md | 14 +++++++++++++- examples/cms-cosmic/README.md | 14 +++++++++++++- examples/cms-datocms/README.md | 14 +++++++++++++- examples/cms-prismic/README.md | 14 +++++++++++++- examples/cms-sanity/README.md | 14 +++++++++++++- examples/cms-storyblok/README.md | 14 +++++++++++++- examples/cms-strapi/README.md | 14 +++++++++++++- examples/cms-takeshape/README.md | 14 +++++++++++++- examples/cms-wordpress/README.md | 14 +++++++++++++- 11 files changed, 143 insertions(+), 11 deletions(-) diff --git a/examples/cms-agilitycms/README.md b/examples/cms-agilitycms/README.md index 0e7c481ee0080..87e6a516024e9 100644 --- a/examples/cms-agilitycms/README.md +++ b/examples/cms-agilitycms/README.md @@ -299,7 +299,19 @@ Your blog should be up and running on [http://localhost:3000](http://localhost:3 ### Step 17. Deploy on Vercel -Click on the [Deploy](#deploy-your-own) button! +You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). + +#### Deploy Your Local Project + +To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/import/git?utm_source=github&utm_medium=readme&utm_campaign=next-example). + +**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file. + +#### Deploy from Our Template + +Alternatively, you can deploy using our template by clicking on the Deploy button below. + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https://github.com/vercel/next.js/tree/canary/examples/cms-agilitycms&env=AGILITY_CMS_GUID,AGILITY_CMS_API_FETCH_KEY,AGILITY_CMS_API_PREVIEW_KEY,AGILITY_CMS_SECURITY_KEY&envDescription=API%20Keys%20required%20by%20Agility%20CMS.%20More%20details%20on%20https://vercel.link/agility-cms-env) ### Step 18. Try preview mode diff --git a/examples/cms-buttercms/README.md b/examples/cms-buttercms/README.md index e966ab1349953..3a7ab43b81324 100644 --- a/examples/cms-buttercms/README.md +++ b/examples/cms-buttercms/README.md @@ -110,4 +110,16 @@ You should now be able to see the draft post. To exit the preview mode, you can ### Step 5. Deploy on Vercel -Click on the [Deploy](#deploy-your-own) button! +You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). + +#### Deploy Your Local Project + +To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/import/git?utm_source=github&utm_medium=readme&utm_campaign=next-example). + +**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file. + +#### Deploy from Our Template + +Alternatively, you can deploy using our template by clicking on the Deploy button below. + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https://github.com/vercel/next.js/tree/canary/examples/cms-buttercms&env=BUTTERCMS_API_KEY,BUTTERCMS_PREVIEW_SECRET&envDescription=Required%20to%20connect%20the%20app%20with%20ButterCMS.%20More%20details%20on%20https://vercel.link/buttercms-env) diff --git a/examples/cms-contentful/README.md b/examples/cms-contentful/README.md index 2caf73b90da8b..a1ade0f4a1e92 100644 --- a/examples/cms-contentful/README.md +++ b/examples/cms-contentful/README.md @@ -222,4 +222,16 @@ You will now be able to see the updated title. To exit preview mode, you can cli ### Step 8. Deploy on Vercel -Click on the [Deploy](#deploy-your-own) button! +You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). + +#### Deploy Your Local Project + +To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/import/git?utm_source=github&utm_medium=readme&utm_campaign=next-example). + +**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file. + +#### Deploy from Our Template + +Alternatively, you can deploy using our template by clicking on the Deploy button below. + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https://github.com/vercel/next.js/tree/canary/examples/cms-contentful&env=CONTENTFUL_SPACE_ID,CONTENTFUL_ACCESS_TOKEN,CONTENTFUL_PREVIEW_ACCESS_TOKEN,CONTENTFUL_PREVIEW_SECRET&envDescription=Required%20to%20connect%20the%20app%20with%20Contentful.%20More%20details%20on%20https://vercel.link/cms-contentful-env) diff --git a/examples/cms-cosmic/README.md b/examples/cms-cosmic/README.md index 30f408fd1ee4a..ba689044c589e 100644 --- a/examples/cms-cosmic/README.md +++ b/examples/cms-cosmic/README.md @@ -113,4 +113,16 @@ To exit preview mode, you can click on **Click here to exit preview mode** at th ### Step 6. Deploy on Vercel -Click on the [Deploy](#deploy-your-own) button! +You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). + +#### Deploy Your Local Project + +To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/import/git?utm_source=github&utm_medium=readme&utm_campaign=next-example). + +**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file. + +#### Deploy from Our Template + +Alternatively, you can deploy using our template by clicking on the Deploy button below. + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https://github.com/vercel/next.js/tree/canary/examples/cms-cosmic&env=COSMIC_BUCKET_SLUG,COSMIC_READ_KEY,COSMIC_PREVIEW_SECRET&envDescription=Required%20to%20connect%20the%20app%20with%20Cosmic.%20More%20details%20on%20https://vercel.link/cms-cosmic-env) diff --git a/examples/cms-datocms/README.md b/examples/cms-datocms/README.md index efb7876285533..be48383d676ba 100644 --- a/examples/cms-datocms/README.md +++ b/examples/cms-datocms/README.md @@ -163,4 +163,16 @@ You should now be able to see the updated title. To exit the preview mode, you c ### Step 8. Deploy on Vercel -Click on the [Deploy](#deploy-your-own) button! +You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). + +#### Deploy Your Local Project + +To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/import/git?utm_source=github&utm_medium=readme&utm_campaign=next-example). + +**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file. + +#### Deploy from Our Template + +Alternatively, you can deploy using our template by clicking on the Deploy button below. + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https://github.com/vercel/next.js/tree/canary/examples/cms-datocms&env=DATOCMS_API_TOKEN,DATOCMS_PREVIEW_SECRET&envDescription=Required%20to%20connect%20the%20app%20with%20DatoCMS.%20More%20details%20on%20https://vercel.link/cms-datocms-env) diff --git a/examples/cms-prismic/README.md b/examples/cms-prismic/README.md index 7c0f015e23b89..2637460d84b5d 100644 --- a/examples/cms-prismic/README.md +++ b/examples/cms-prismic/README.md @@ -166,4 +166,16 @@ You should now be able to see the updated title. To exit preview mode, you can c ### Step 8. Deploy on Vercel -Click on the [Deploy](#deploy-your-own) button! +You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). + +#### Deploy Your Local Project + +To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/import/git?utm_source=github&utm_medium=readme&utm_campaign=next-example). + +**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file. + +#### Deploy from Our Template + +Alternatively, you can deploy using our template by clicking on the Deploy button below. + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https://github.com/vercel/next.js/tree/canary/examples/cms-prismic&env=PRISMIC_API_TOKEN,PRISMIC_REPOSITORY_NAME&envDescription=Required%20to%20connect%20the%20app%20with%20Prismic.%20More%20details%20on%20https://vercel.link/cms-prismic-env) diff --git a/examples/cms-sanity/README.md b/examples/cms-sanity/README.md index fe525b8f356c1..488ba0de9ac6f 100644 --- a/examples/cms-sanity/README.md +++ b/examples/cms-sanity/README.md @@ -159,4 +159,16 @@ You should now be able to see the updated title. To exit the preview mode, you c ### Step 10. Deploy on Vercel -Click on the [Deploy](#deploy-your-own) button! +You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). + +#### Deploy Your Local Project + +To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/import/git?utm_source=github&utm_medium=readme&utm_campaign=next-example). + +**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file. + +#### Deploy from Our Template + +Alternatively, you can deploy using our template by clicking on the Deploy button below. + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https://github.com/vercel/next.js/tree/canary/examples/cms-sanity&env=SANITY_PREVIEW_SECRET,SANITY_API_TOKEN,SANITY_PROJECT_ID&envDescription=Required%20to%20connect%20the%20app%20with%20Sanity.%20More%20details%20on%20https://vercel.link/cms-sanity-env) diff --git a/examples/cms-storyblok/README.md b/examples/cms-storyblok/README.md index 0b1b37cf57e78..d91c4c4379f82 100644 --- a/examples/cms-storyblok/README.md +++ b/examples/cms-storyblok/README.md @@ -155,4 +155,16 @@ You should now be able to see the draft post. To exit the preview mode, you can ### Step 9. Deploy on Vercel -Click on the [Deploy](#deploy-your-own) button! +You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). + +#### Deploy Your Local Project + +To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/import/git?utm_source=github&utm_medium=readme&utm_campaign=next-example). + +**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file. + +#### Deploy from Our Template + +Alternatively, you can deploy using our template by clicking on the Deploy button below. + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https://github.com/vercel/next.js/tree/canary/examples/cms-storyblok&env=STORYBLOK_PREVIEW_SECRET,STORYBLOK_API_KEY&envDescription=Required%20to%20connect%20the%20app%20with%20Storyblok.%20More%20details%20on%20https://vercel.link/cms-storyblok-env) diff --git a/examples/cms-strapi/README.md b/examples/cms-strapi/README.md index 5dc47e1f3a085..9151ba5dede4c 100644 --- a/examples/cms-strapi/README.md +++ b/examples/cms-strapi/README.md @@ -191,4 +191,16 @@ To deploy to production, you must first deploy your Strapi app. The Strapi app f ### Step 11. Deploy on Vercel -Click on the [Deploy](#deploy-your-own) button! +You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). + +#### Deploy Your Local Project + +To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/import/git?utm_source=github&utm_medium=readme&utm_campaign=next-example). + +**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file. + +#### Deploy from Our Template + +Alternatively, you can deploy using our template by clicking on the Deploy button below. + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https://github.com/vercel/next.js/tree/canary/examples/cms-strapi&env=STRAPI_PREVIEW_SECRET,NEXT_PUBLIC_STRAPI_API_URL&envDescription=Required%20to%20connect%20the%20app%20with%20Strapi.%20More%20details%20on%20https://vercel.link/cms-strapi-env) diff --git a/examples/cms-takeshape/README.md b/examples/cms-takeshape/README.md index 2f7fdffb7aa7b..198f95925c04c 100644 --- a/examples/cms-takeshape/README.md +++ b/examples/cms-takeshape/README.md @@ -165,4 +165,16 @@ You should now be able to see this post. To exit the preview mode, you can click ### Step 8. Deploy on Vercel -Click on the [Deploy](#deploy-your-own) button! +You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). + +#### Deploy Your Local Project + +To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/import/git?utm_source=github&utm_medium=readme&utm_campaign=next-example). + +**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file. + +#### Deploy from Our Template + +Alternatively, you can deploy using our template by clicking on the Deploy button below. + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https://github.com/vercel/next.js/tree/canary/examples/cms-takeshape&env=TAKESHAPE_PROJECT_ID,TAKESHAPE_API_KEY,TAKESHAPE_PREVIEW_SECRET&envDescription=Required%20to%20connect%20the%20app%20with%20TakeShape.%20More%20details%20on%20https://vercel.link/cms-takeshape-env) diff --git a/examples/cms-wordpress/README.md b/examples/cms-wordpress/README.md index c845b789a508c..2266e0285a838 100644 --- a/examples/cms-wordpress/README.md +++ b/examples/cms-wordpress/README.md @@ -200,4 +200,16 @@ You should now be able to see this post. To exit Preview Mode, you can click on ### Step 7. Deploy on Vercel -Click on the [Deploy](#deploy-your-own) button! +You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). + +#### Deploy Your Local Project + +To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/import/git?utm_source=github&utm_medium=readme&utm_campaign=next-example). + +**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file. + +#### Deploy from Our Template + +Alternatively, you can deploy using our template by clicking on the Deploy button below. + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?s=https://github.com/vercel/next.js/tree/canary/examples/cms-wordpress&env=WORDPRESS_API_URL&envDescription=Required%20to%20connect%20the%20app%20with%20WordPress.%20More%20details%20on%20https://vercel.link/cms-wordpress-env)