From 97238ef5ac7d5cfe660c97794f6f34151b873754 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 22 Jun 2022 15:23:36 +0200 Subject: [PATCH] docs: use -r in setup command --- README.md | 2 +- docs/getting-started/create-a-project.md | 2 +- www/routes/index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 968c5d28..e213a122 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ You can scaffold a new project by running the Fresh init script. To scaffold a project in the `myproject` folder, run the following: ```sh -deno run -A https://fresh.deno.dev my-project +deno run -A -r https://fresh.deno.dev my-project ``` To now start the project, use `deno task`: diff --git a/docs/getting-started/create-a-project.md b/docs/getting-started/create-a-project.md index b780e3bc..c3e2e835 100644 --- a/docs/getting-started/create-a-project.md +++ b/docs/getting-started/create-a-project.md @@ -10,7 +10,7 @@ will scaffold out a new project with some example files to get you started. To create a new project in the directory `"my-project"`, run: ``` -$ deno run -A https://fresh.deno.dev my-project +$ deno run -A -r https://fresh.deno.dev my-project The manifest has been generated for 3 routes and 1 islands. Project created! diff --git a/www/routes/index.tsx b/www/routes/index.tsx index 76358eb9..9fc545a2 100644 --- a/www/routes/index.tsx +++ b/www/routes/index.tsx @@ -171,7 +171,7 @@ function GettingStarted(props: { origin: string }) { Then you can use the Fresh init script to bootstrap a new project:

-        {`deno run -A ${props.origin} my-app`}
+        {`deno run -A -r ${props.origin} my-app`}
       

Enter the newly created project directory and run the following command