Mastro 👨‍🍳 Docs

Search results

Blog GitHub   Bluesky

Run Node.js server and deploy to Render

← Other deployment options

While Render doesn’t come with Deno preinstalled, we can install it in the build command.

To deploy your dynamically rendered Mastro app to Render, go to your Render dashboard and select New > Web Service, and connect with your GitHub repository.

Set the following settings:

Build command

curl -fsSL https://deno.land/install.sh | sh
Copied!

Start command

/opt/render/project/.deno/bin/deno run --allow-read --allow-net --allow-env server.ts
Copied!

Congratulations! Pushing to GitHub should now deploy your server to Render.