1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-29 02:29:06 -05:00

Update instructions to install file server (denoland/deno_std#526)

Original: 9e5473a502
This commit is contained in:
Phil Rukin 2019-06-29 16:30:01 +02:00 committed by Ryan Dahl
parent 5bf765b1b4
commit 6d4473324f

View file

@ -70,8 +70,8 @@ main();
A small program for serving local files over HTTP.
Add the following to your `.bash_profile`
Install it by using `deno install`
```sh
alias file_server="deno run --allow-net https://deno.land/std/http/file_server.ts"
deno install file_server https://deno.land/std/http/file_server.ts --allow-net --allow-read
```