From 27a05bf2f7ca845fa3da2b45b8be1a38eafc74b1 Mon Sep 17 00:00:00 2001 From: msweeneydev Date: Thu, 5 Mar 2020 11:50:42 +0000 Subject: [PATCH 1/2] update custom server readmes --- examples/api-routes-apollo-server-and-client-auth/README.md | 2 -- examples/api-routes-apollo-server-and-client/README.md | 2 -- examples/custom-server-express/README.md | 2 -- examples/custom-server-fastify/README.md | 3 --- examples/custom-server-hapi/README.md | 2 -- examples/custom-server-koa/README.md | 2 -- examples/custom-server-micro/README.md | 2 -- examples/custom-server-nodemon/README.md | 2 -- examples/custom-server-polka/README.md | 2 -- examples/custom-server-reasonml/README.md | 4 ---- examples/custom-server-typescript/README.md | 2 -- examples/custom-server/README.md | 2 -- 12 files changed, 27 deletions(-) diff --git a/examples/api-routes-apollo-server-and-client-auth/README.md b/examples/api-routes-apollo-server-and-client-auth/README.md index 9a107639db061..dff6d018358d2 100644 --- a/examples/api-routes-apollo-server-and-client-auth/README.md +++ b/examples/api-routes-apollo-server-and-client-auth/README.md @@ -47,5 +47,3 @@ yarn dev ``` > If you have issues installing `bcrypt`, follow this instructions: https://github.com/kelektiv/node.bcrypt.js/wiki/Installation-Instructions - -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/api-routes-apollo-server-and-client/README.md b/examples/api-routes-apollo-server-and-client/README.md index 53de5eba5c7a3..d191a5b8b40b9 100644 --- a/examples/api-routes-apollo-server-and-client/README.md +++ b/examples/api-routes-apollo-server-and-client/README.md @@ -45,5 +45,3 @@ npm run dev yarn yarn dev ``` - -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/custom-server-express/README.md b/examples/custom-server-express/README.md index 4cbf925479a51..8b6a84f56af75 100644 --- a/examples/custom-server-express/README.md +++ b/examples/custom-server-express/README.md @@ -36,5 +36,3 @@ npm run dev yarn yarn dev ``` - -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/custom-server-fastify/README.md b/examples/custom-server-fastify/README.md index 94dbb363ce7b8..e27968670b708 100644 --- a/examples/custom-server-fastify/README.md +++ b/examples/custom-server-fastify/README.md @@ -36,6 +36,3 @@ npm run dev yarn yarn dev ``` - -Fastify -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/custom-server-hapi/README.md b/examples/custom-server-hapi/README.md index 4381d14393b15..e5cef40796626 100644 --- a/examples/custom-server-hapi/README.md +++ b/examples/custom-server-hapi/README.md @@ -36,5 +36,3 @@ npm run dev yarn yarn dev ``` - -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/custom-server-koa/README.md b/examples/custom-server-koa/README.md index d68235c33538c..7e39281c3f934 100644 --- a/examples/custom-server-koa/README.md +++ b/examples/custom-server-koa/README.md @@ -37,8 +37,6 @@ yarn yarn dev ``` -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). - ## Side note: Enabling gzip compression The most common Koa middleware for handling the gzip compression is [compress](https://github.com/koajs/compress), but unfortunately it is currently not compatible with Next.
diff --git a/examples/custom-server-micro/README.md b/examples/custom-server-micro/README.md index fa53209214dec..7484b2cfccbfc 100644 --- a/examples/custom-server-micro/README.md +++ b/examples/custom-server-micro/README.md @@ -36,5 +36,3 @@ npm run dev yarn yarn dev ``` - -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/custom-server-nodemon/README.md b/examples/custom-server-nodemon/README.md index adfaf167a7259..4f4490ddf28d5 100644 --- a/examples/custom-server-nodemon/README.md +++ b/examples/custom-server-nodemon/README.md @@ -32,5 +32,3 @@ npm run dev yarn yarn dev ``` - -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/custom-server-polka/README.md b/examples/custom-server-polka/README.md index 5cb7b6686c98e..7ac4bc4b6e804 100644 --- a/examples/custom-server-polka/README.md +++ b/examples/custom-server-polka/README.md @@ -36,5 +36,3 @@ npm run dev yarn yarn dev ``` - -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/custom-server-reasonml/README.md b/examples/custom-server-reasonml/README.md index ae95f2bbd3e6e..e231c568adf0b 100644 --- a/examples/custom-server-reasonml/README.md +++ b/examples/custom-server-reasonml/README.md @@ -56,7 +56,3 @@ npm start # or yarn start ``` - -### Deploy the app - -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/custom-server-typescript/README.md b/examples/custom-server-typescript/README.md index afd158ce80e72..1af2a1bf70608 100644 --- a/examples/custom-server-typescript/README.md +++ b/examples/custom-server-typescript/README.md @@ -35,5 +35,3 @@ npm run dev yarn yarn dev ``` - -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/custom-server/README.md b/examples/custom-server/README.md index 8b59862c49caa..eeb016fe8c065 100644 --- a/examples/custom-server/README.md +++ b/examples/custom-server/README.md @@ -34,5 +34,3 @@ npm run dev yarn yarn dev ``` - -Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). From 104d03d492e8812c7a0a0958f4b0476303d44397 Mon Sep 17 00:00:00 2001 From: msweeneydev Date: Thu, 5 Mar 2020 12:27:39 +0000 Subject: [PATCH 2/2] remove deploy buttons --- examples/api-routes-apollo-server-and-client-auth/README.md | 6 ------ examples/api-routes-apollo-server-and-client/README.md | 6 ------ 2 files changed, 12 deletions(-) diff --git a/examples/api-routes-apollo-server-and-client-auth/README.md b/examples/api-routes-apollo-server-and-client-auth/README.md index dff6d018358d2..269a82d59b823 100644 --- a/examples/api-routes-apollo-server-and-client-auth/README.md +++ b/examples/api-routes-apollo-server-and-client-auth/README.md @@ -9,12 +9,6 @@ On initial page load, while on the server and inside `getInitialProps`, we invok Note: Do not be alarmed that you see two renders being executed. Apollo recursively traverses the React render tree looking for Apollo query components. When it has done that, it fetches all these queries and then passes the result to a cache. This cache is then used to render the data on the server side (another React render). https://www.apollographql.com/docs/react/api/react-ssr/#getdatafromtree -## Deploy your own - -Deploy the example using [ZEIT Now](https://zeit.co/now): - -[![Deploy with ZEIT Now](https://zeit.co/button)](https://zeit.co/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/api-routes-apollo-server-and-client-auth) - ## How to use ### Using `create-next-app` diff --git a/examples/api-routes-apollo-server-and-client/README.md b/examples/api-routes-apollo-server-and-client/README.md index d191a5b8b40b9..6135512ca3b46 100644 --- a/examples/api-routes-apollo-server-and-client/README.md +++ b/examples/api-routes-apollo-server-and-client/README.md @@ -9,12 +9,6 @@ On initial page load, while on the server and inside `getInitialProps`, we invok Note: Do not be alarmed that you see two renders being executed. Apollo recursively traverses the React render tree looking for Apollo query components. When it has done that, it fetches all these queries and then passes the result to a cache. This cache is then used to render the data on the server side (another React render). https://www.apollographql.com/docs/react/api/react-ssr/#getdatafromtree -## Deploy your own - -Deploy the example using [ZEIT Now](https://zeit.co/now): - -[![Deploy with ZEIT Now](https://zeit.co/button)](https://zeit.co/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/api-routes-apollo-server-and-client) - ## How to use ### Using `create-next-app`