23 lines
359 B
Markdown
23 lines
359 B
Markdown
# 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
|
|
```
|
|
|