From cbbcdc7d935ca06e69309ccfc63605897890e5fc Mon Sep 17 00:00:00 2001 From: Rasoul Abdulzahra <76753779+rasoulMO@users.noreply.github.com> Date: Mon, 4 Jul 2022 12:55:48 +0200 Subject: [PATCH] fix: update README.md and init.ts to match the docs (#334) The setup steps presented between them slightly differed. Co-authored-by: Rasoul Abdulzahra Co-authored-by: Luca Casonato --- README.md | 8 +++++++- init.ts | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a0293dd0..130f2364 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,18 @@ The [documentation](https://fresh.deno.dev/docs/) is available on ## Getting started You can scaffold a new project by running the Fresh init script. To scaffold a -project in the `myproject` folder, run the following: +project in the `my-project` folder, run the following: ```sh deno run -A -r https://fresh.deno.dev my-project ``` +Go to `my-project` folder: + +``` +cd my-project +``` + To now start the project, use `deno task`: ``` diff --git a/init.ts b/init.ts index 653a5bec..d073272a 100644 --- a/init.ts +++ b/init.ts @@ -343,4 +343,5 @@ const manifest = await collect(directory); await generate(directory, manifest); console.log("\n%cProject created!", "color: green; font-weight: bold"); -console.log("Run \`deno task start\` in the project directory to get started."); +console.log("\`cd my-project\` to enter to the project directory."); +console.log("Run \`deno task start\` to start the development server.");