Deployment
Aleph.js allows you to export your application to a static site, which can run standalone on any server:
$ aleph build
or run it in production mode with Aleph.js server and get API routes support in Deno:
$ deno run -A https://deno.land/x/aleph@${VERSION}/cli.ts start ${APP_DIR} --port 80
Deploy on Deno Deploy
In the plan, currently not supported.
Deploy on Vercel
To deploy your app to Vercel, you need to configure your vercel project manually:
- Build Command:
curl -fsSL https://deno.land/x/install/install.sh | sh && /vercel/.deno/bin/deno run -A https://deno.land/x/aleph@${VERSION}/cli.ts build
- Output Directory:
dist
(outputDir, you can override it inaleph.config.js
) - API Routes (Functions): currently not supported
See the hello-world example on Vercel.
Deploy on Fleek
To deploy your app to Fleek, you need to configure your fleek project manually:
- Build Command:
deno run -A https://deno.land/x/aleph@${VERSION}/cli.ts build
- Docker Image Name:
hayd/deno:latest
- Output Directory:
dist
(outputDir, you can override it inaleph.config.js
) - API Routes (Functions): currently not supported
Authors:@ije@razermoon | Edit this page on Github