Workflows

Workflow D: Graduate a Drop to an App

An inspiration can graduate to a full app without changing its URL or losing history.

Step 1: Clone the inspiration

grid clone q2-deck
cd q2-deck

This downloads the source and links the directory to the existing entity.

Step 2: Add a cloudgrid.yaml

name: q2-deck
services:
  web:
    type: static
    path: /

Or for a dynamic app:

name: q2-deck
services:
  web:
    type: nextjs
    path: /
requires:
  - db

Step 3: Plug it as a runtime

grid plug

The entity graduates from inspiration to app. The URL is preserved. History is preserved.