Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kwhinnery committed Sep 15, 2023
1 parent 457011c commit e1afa3b
Show file tree
Hide file tree
Showing 3 changed files with 273 additions and 38 deletions.
2 changes: 1 addition & 1 deletion deploy/manual/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,6 @@ centers around the world, ready to handle large volumes of traffic.
## Next Steps

Now that you've created your first project, you can
[check out the kids of apps](./use-cases.md) you can run on Deploy. You could
[check out the kinds of apps](./use-cases.md) you can run on Deploy. You could
also skip right to [setting up your own custom domain](./custom-domains.md).
We're so excited to see what you'll ship with Deploy!
28 changes: 15 additions & 13 deletions runtime/manual/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ console.log(await site.text());

Run this program **without** the `-A` flag - what happens then?

```ts
```bash
deno run hello.ts
```

Expand All @@ -174,6 +174,12 @@ kevin@kevin-deno scratchpad % deno run index.ts
└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all net permissions) >
```

In the prompt, you might have noticed that it mentions the CLI flag you'd need to run your code with permission to access the network - the `--allow-net` flag. If you run the script again using this flag, you won't be prompted to interactively grant network access to your script:

```bash
deno run --allow-net hello.ts
```

For simplicity, we will sometimes show examples that use `deno run -A ...`, but
whenever possible (and in your production or CI environments), we'd encourage
you to take advantage of Deno's full suite of
Expand Down Expand Up @@ -360,7 +366,7 @@ following - a simple HTTP server using the popular
[Express](https://expressjs.com) framework.

```js
import express from "npm:express";
import express from "npm:express@4";

const app = express();

Expand Down Expand Up @@ -405,11 +411,9 @@ exist in the Deno ecosystem. Here are a few of the most popular choices.
Deno. Pages are server-rendered by default, with the option to include
interactive islands that run JavaScript on the client. If you're new to Deno
and looking for a place to start, we recommend trying Fresh first!
- [Hono](https://hono.dev/) - Hono is a light-weight web framework in the
tradition of [Express](https://expressjs.com). Great for API servers and
simple web applications.
- [Oak](https://deno.land/x/oak) - Oak is a middleware framework modeled after
[Koa](https://koajs.com/).
- [Hono](https://hono.dev/getting-started/deno) - Hono is a light-weight web
framework in the tradition of [Express](https://expressjs.com). Great for
API servers and simple web applications.

### Deno-compatible frameworks

Expand All @@ -418,13 +422,11 @@ exist in the Deno ecosystem. Here are a few of the most popular choices.
starting with
[this template](https://github.com/denoland/deno-astro-template).
- [SvelteKit](https://kit.svelte.dev/) - SvelteKit is another more
runtime-agnostic web framework that can be used with Deno. We recommend using
[this adapter](https://github.com/dbushell/sveltekit-adapter-deno) in your
SvelteKit application to use SvelteKit with Deno.
runtime-agnostic web framework that can be used with Deno. We recommend
starting with [this template](https://github.com/denoland/deno-sveltekit-template).
- [Nuxt (Vue)](https://nuxt.com/) - Nuxt is a hybrid SSR and client-side
framework that works with Deno.
[Follow these instructions](https://nitro.unjs.io/deploy/providers/deno) to
build this Nitro-based framework for Deno.
framework that works with Deno. We recommend
starting with [this template](https://github.com/denoland/deno-nuxt-template).

Many more frameworks support Deno than are listed here, but we'd recommend these
as a great starting point.
Expand Down
Loading

0 comments on commit e1afa3b

Please sign in to comment.