feat: deployctl is not needed anymore (#45)
Deno Deploy now supports Deno.listen and Deno.serveHttp.
This commit is contained in:
@@ -4,15 +4,11 @@ Welcome to the `fresh` documentation.
|
||||
|
||||
## Requirements
|
||||
|
||||
The documentation assumes you have Deno 1.9.2 or later, and `deployctl` 0.3.0
|
||||
installed.
|
||||
The documentation assumes you have Deno 1.12.0 or later installed.
|
||||
|
||||
To install Deno, follow the installation instructions in the manual:
|
||||
https://deno.land/manual/getting_started/installation
|
||||
|
||||
To install `deployctl`, follow the installation instructions here:
|
||||
https://deno.land/x/deploy#install
|
||||
|
||||
## Setup
|
||||
|
||||
`fresh` comes with a CLI tool, conveniently also called `fresh`. It is used to
|
||||
@@ -46,10 +42,10 @@ To learn more about how projects are structured, take a look at the
|
||||
|
||||
## Running the project locally
|
||||
|
||||
You can now run your new project locally with `deployctl`:
|
||||
You can now run your new project locally using the `deno` CLI:
|
||||
|
||||
```
|
||||
deployctl run --watch --no-check ./main.ts
|
||||
deno run -A --unstable --config tsconfig.json --watch main.ts
|
||||
```
|
||||
|
||||
The `--watch` option will cause your script to be reloaded on any changes to the
|
||||
|
||||
@@ -5,7 +5,7 @@ important files are `main.ts`, `routes.gen.ts`, and the pages and api routes in
|
||||
the `pages` subfolder.
|
||||
|
||||
The `main.ts` file is the entrypoint to your project. It is the file you link in
|
||||
Deno Deploy, or run locally with `deployctl`.
|
||||
Deno Deploy, or run locally with the `deno` CLI.
|
||||
|
||||
The `routes.gen.ts` file is a manifest of all pages and api routes in a project.
|
||||
When moving around or creating new pages, this file needs to be updated. This is
|
||||
|
||||
Reference in New Issue
Block a user