Cake Demo Apps

May 30, 2026 ยท View on GitHub

Available examples

The demo apps come with a docker compose.yml file which contains a database setup. You will need to install or have installed Git, Erlang, Gleam, and Docker however, thus:

Installing prerequisites

If not already installed, install:

  1. Install Git.
  2. Install Erlang, Rebar3, and Gleam, see Installing chapter on the Gleam website for instructions.
  3. Install Docker Desktop or Docker Engine.

Obtaining a copy of Cake

Open a terminal of your choice to clone Cake:

git clone https://github.com/inoas/gleam-cake.git
cd gleam-cake

Starting the docker compose setup for demo apps

Open a terminal of your choice and within the gleam-cake directory cloned above:

cd examples/docker
bin/attached

Start the demo app

Open a new terminal and run:

cd examples
cd 01_select_and_decode # ...or any other example app!
gleam clean
gleam run