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 <rasoul.abdulzahra@aubay.it> Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
This commit is contained in:
co-authored by
Rasoul Abdulzahra
Luca Casonato
parent
9871980613
commit
cbbcdc7d93
@@ -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`:
|
||||
|
||||
```
|
||||
|
||||
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user