docs: use -r in setup command

This commit is contained in:
Luca Casonato
2022-06-22 15:23:36 +02:00
parent 02988178a1
commit 97238ef5ac
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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`:
+1 -1
View File
@@ -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!
+1 -1
View File
@@ -171,7 +171,7 @@ function GettingStarted(props: { origin: string }) {
Then you can use the Fresh init script to bootstrap a new project:
</p>
<pre class={tw`overflow-x-auto py-2 px-4 bg(gray-100)`}>
{`deno run -A ${props.origin} my-app`}
{`deno run -A -r ${props.origin} my-app`}
</pre>
<p class={tw`text-gray-600`}>
Enter the newly created project directory and run the following command