- Updated `deno.json` to allow environment variable access in the start task. - Added `deploy.sh` script for building and deploying the application to a remote server. - Modified `main.ts` to retrieve the `AUTH_SECRET` and `PORT` from environment variables. - Created `my-score.service` for managing the Deno service with systemd. - Cleaned up `user.ts` by removing unnecessary console logs.
12 lines
255 B
JSON
12 lines
255 B
JSON
{
|
|
"imports": {
|
|
"hono": "jsr:@hono/hono@^4.7.11"
|
|
},
|
|
"tasks": {
|
|
"start": "deno run --allow-net --allow-read --allow-write --allow-env --watch main.ts"
|
|
},
|
|
"compilerOptions": {
|
|
"jsx": "precompile",
|
|
"jsxImportSource": "hono/jsx"
|
|
}
|
|
} |