-
Install deno (linux/mac)
curl -fsSL https://deno.land/x/install/install.sh | sh
For other OS, go to deno installation.
-
Install fastro-cli
deno install -A https://raw.fastro.dev/master/cli/fastro.ts
Add
-f --reload
if you want to get the latest update.Change
master
with the latest version to prevent breaking changes. -
Make a new directory
mkdir webapp && cd webapp
-
Initiate a project
fastro init
-
Run server
fastro serve
Or if you want with
deno
:deno run -A main.ts
-
Open url
http://localhost:3000
-
Go to deployment if you want to publish your webapp.