-
Follow the commands to bootstrap your Deno project with Fresh framework:
deno run -A -r https://fresh.deno.dev my-project cd my-project deno task start
-
In
./main.ts
, addport: Deno.env.get("PORT")
to thestart
function and listen to the custom port given the.env
filestart(manifest, { plugins: [twindPlugin(twindConfig)], port: Deno.env.get("PORT")}, );
-
To run locally, copy
.env.defaults
to a new file.env
, and modify.env
by assigning the port that you would like to run your application.cp .env.defaults .env
# in .env PORT=<your port>
-
Do not add
fresh.gen.ts
to your.gitignore
file.
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple Deno app with Fresh framework deployed on Zeabur.
zeabur/deno-fresh-template
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple Deno app with Fresh framework deployed on Zeabur.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published