new example

This commit is contained in:
Luca Casonato
2021-05-08 12:57:33 +02:00
parent cfb99ef326
commit f42fff1a31
6 changed files with 65 additions and 14 deletions
+22
View File
@@ -0,0 +1,22 @@
# fresh project
### Usage
Install deployctl:
```
deno install --allow-read --allow-write --allow-env --allow-net --allow-run --no-check -r -f https://deno.land/x/deploy/deployctl.ts
```
Start the project:
```
deployctl run --no-check --watch server.ts
```
After adding, removing, or moving a page in the `pages` directory, run:
```
fresh routes
```