From 6679694a1e3abebf4dd602807d7f6c430f96882a Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Thu, 5 Mar 2020 16:30:48 +0100 Subject: [PATCH] Update Custom Server README's (#10843) * update custom server readmes * remove deploy buttons --- .../api-routes-apollo-server-and-client-auth/README.md | 8 -------- examples/api-routes-apollo-server-and-client/README.md | 8 -------- 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, 39 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 9a107639db06160..269a82d59b82387 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` @@ -47,5 +41,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 53de5eba5c7a33f..6135512ca3b46b1 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` @@ -45,5 +39,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 4cbf925479a5122..8b6a84f56af7542 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 94dbb363ce7b8b8..e27968670b70834 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 4381d14393b15a1..e5cef407966262a 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 d68235c33538cec..7e39281c3f9342d 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 fa53209214decad..7484b2cfccbfc1a 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 adfaf167a725908..4f4490ddf28d5be 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 5cb7b6686c98ec5..7ac4bc4b6e80479 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 ae95f2bbd3e6ee3..e231c568adf0ba0 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 afd158ce80e72ed..1af2a1bf70608d0 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 8b59862c49caabc..eeb016fe8c0651c 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)).