Skip to main content

Prerequisites

Deploy from Recipe

1

Import Project

project:
  name: recipe-gleam
services:
  - hostname: api
    type: [email protected]
    enableSubdomainAccess: true
    buildFromGit: https://github.com/zeropsio/recipe-gleam
  - hostname: db
    type: postgresql@16
    mode: NON_HA

Create Gleam App

gleam new myapp
cd myapp

Add zerops.yaml

zerops:
  - setup: api
    build:
      base: [email protected]
      buildCommands:
        - gleam build
      deployFiles:
        - build
    run:
      start: gleam run
      ports:
        - port: 3000

Next Steps

Overview

Runtime features

Build docs developers (and LLMs) love