Add readme & port.
This commit is contained in:
parent
515596ba2b
commit
8b0bcf486e
2 changed files with 14 additions and 1 deletions
13
README.md
Normal file
13
README.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Grammaire online
|
||||
|
||||
Web frontend for grammalecte.
|
||||
|
||||
## Running
|
||||
|
||||
### Dependencies
|
||||
|
||||
- deno
|
||||
|
||||
```bash
|
||||
./src/main.ts
|
||||
```
|
|
@ -15,7 +15,7 @@ async function main() {
|
|||
const response = await check(request.text)
|
||||
return c.json(response)
|
||||
})
|
||||
Deno.serve(server.fetch)
|
||||
Deno.serve({ port: 8000 }, server.fetch)
|
||||
}
|
||||
|
||||
if (import.meta.main) await main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue