-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(deploy): add deno to runtime list (#1899)
- Loading branch information
Showing
2 changed files
with
28 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
icon: simple-icons:deno | ||
--- | ||
|
||
# Deno | ||
|
||
Run Nitro apps with [Deno](https://deno.com/) runtime. | ||
|
||
## Deno Server | ||
|
||
**Preset:** `deno-server` ([switch to this preset](/deploy/#changing-the-deployment-preset)) | ||
|
||
::alert{type="warning"} | ||
Deno runtime preset is experimental. | ||
:: | ||
|
||
You can build your Nitro server using Node.js to run within [Deno Runtime](https://deno.com/runtime) in a custom server. | ||
|
||
```bash | ||
# Build with the deno NITRO preset | ||
NITRO_PRESET=deno-server npm run build | ||
|
||
# Start production server | ||
deno run --unstable --allow-net --allow-read --allow-env .output/server/index.ts | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters