Skip to content

Commit 6b0ab7e

Browse files
authored
Merge pull request #20 from supabase/update-readme
fix: updated readme
2 parents 8589927 + bb1ab27 commit 6b0ab7e

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,18 @@ Also, this enables portability of edge functions to those users who want to self
1212
## How to run locally
1313

1414
```
15-
./run.sh start --dir /path/to/supabase/functions -p 9000
15+
./run.sh start --main-service /path/to/supabase/functions -p 9000
1616
```
1717

1818
using Docker:
1919

2020
```
2121
docker build -t edge-runtime .
22-
docker run -it --rm -p 9000:9000 -v /path/to/supabase/functions:/usr/services supabase/edge-runtime start --dir /usr/services
22+
docker run -it --rm -p 9000:9000 -v /path/to/supabase/functions:/usr/services supabase/edge-runtime start --main-service /usr/services
2323
```
2424

25-
## Architecture
26-
27-
Server -> Base Worker -> User Function
28-
2925
## TODO
3026

31-
* Check verify-jwt
32-
* handle 404 errors
3327
* Expose Deno.errors
3428
* Performance.now() precision tuning
3529
* Disable SharedArrayBuffers
@@ -44,4 +38,4 @@ Server -> Base Worker -> User Function
4438
## How to update to a Deno version
4539

4640
* Select the Deno version to upgrade and visit its tag on GitHub (eg: https://github.com/denoland/deno/blob/v1.30.3/Cargo.toml)
47-
* Open the `Cargo.toml` at the root of of the repo and modify all `deno_*` modules to match to the Deno's repo.
41+
* Open the `Cargo.toml` at the root of of this repo and modify all `deno_*` modules to match to the selected tag of Deno.

0 commit comments

Comments
 (0)