From 46be3fd07b783282337f64f0a0c5264df2bd266c Mon Sep 17 00:00:00 2001 From: Jinhyun Park Date: Thu, 26 Dec 2024 11:49:03 +0900 Subject: [PATCH 1/2] fix: correct clone instructions in Node.js Hello World README The previous README instructions for cloning the repository were incorrect, as Git does not support cloning a specific subdirectory. This update modifies the instructions to: - Clone the entire repository. - Navigate to the specific example directory. - Ensure the process is clear for users to deploy the Node.js Hello World example using Vercel CLI. --- solutions/node-hello-world/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/solutions/node-hello-world/README.md b/solutions/node-hello-world/README.md index b72c02b33b..0001cfdea2 100644 --- a/solutions/node-hello-world/README.md +++ b/solutions/node-hello-world/README.md @@ -14,8 +14,16 @@ Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_mediu ### Clone and Deploy +First, clone the entire repository: + +```bash +git clone https://github.com/vercel/examples.git +``` + +Navigate to the specific example directory: + ```bash -git clone https://github.com/vercel/examples/tree/main/solutions/node-hello-world +cd examples/solutions/node-hello-world ``` Install the Vercel CLI: From e36518f3009a8c7bfb31b1123b69ef32e06ed946 Mon Sep 17 00:00:00 2001 From: Jinhyun Park Date: Thu, 26 Dec 2024 12:36:14 +0900 Subject: [PATCH 2/2] fix: correct clone instructions and simplify README for express example The previous README for the express example contained incorrect instructions for cloning the repository by attempting to clone a subdirectory, which is not supported by Git. This update modifies the README to: - Guide users to clone the entire repository and navigate to the correct example directory. --- solutions/express/README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/solutions/express/README.md b/solutions/express/README.md index e9223bd507..514ce08b3b 100644 --- a/solutions/express/README.md +++ b/solutions/express/README.md @@ -16,8 +16,16 @@ Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_mediu ### Clone and Deploy +First, clone the entire repository: + +```bash +git clone https://github.com/vercel/examples.git +``` + +Navigate to the specific example directory: + ```bash -git clone https://github.com/vercel/examples/tree/main/solutions/express +cd examples/solutions/express ``` Install the Vercel CLI: @@ -30,4 +38,4 @@ Then run the app at the root of the repository: ```bash vercel dev -``` \ No newline at end of file +```