diff --git a/website/index.html b/website/index.html index f5580d314d..7cb2480dc4 100644 --- a/website/index.html +++ b/website/index.html @@ -20,6 +20,35 @@
Install Deno into ~/.deno/bin +
+curl -L https://deno.land/x/install/install.py | python +export PATH=$HOME/.deno/bin:$PATH ++ +Try a Deno program. Install by bash alias. +This one serves a local directory in HTTP. +
+alias file_server="deno \ + https://deno.land/x/net/file_server.ts --allow-net" ++ +Run it: +
+% file_server . +Downloading https://deno.land/x/net/file_server.ts... +[...] +HTTP server listening on http://0.0.0.0:4500/ ++ +And if you ever want to upgrade to the latest published version: +
+file_server --reload ++ +Other Deno modules are served here. + +