Skip to content

Commit

Permalink
Fix Deno package README and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
duffn authored and floodfx committed Mar 1, 2023
1 parent 16eba59 commit 0508ffa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@ Navigate to the `packages/deno` directory:
cd packages/deno
```

Install dependencies:

```bash
npm install
```

Then, start the Deno server with the examples:

```bash
deno run --allow-run --allow-read --allow-env src/example/autorun.ts
deno run --allow-run --allow-read --allow-write --allow-net --allow-env src/example/autorun.ts
```

Point your browser to [http://localhost:9001](http://localhost:9001)
Expand Down
3 changes: 3 additions & 0 deletions packages/deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ Check out the full LiveViewJS repository:
`cd` to this package:
`cd packages/deno`

Install dependencies:
`npm install`

Then run the following command:
`deno run --allow-run --allow-read --allow-write --allow-net --allow-env src/example/autorun.ts`

Expand Down

0 comments on commit 0508ffa

Please sign in to comment.