Something went wrong. Try again.
A place to put in code related to serverpod
Something went wrong. Try again.
Files
- Shell 59%
- Docker 41%
README.md
serverpod_demo #
Scratch repo for experimenting with Serverpod — in
particular 3.5.0-beta.6 and the new hot-reload tooling. The demo_project/
directory is a vanilla serverpod create scaffold; everything interesting
lives under experiment/.
Experiments #
| # | Experiment | What it proves | Files |
|---|---|---|---|
| 1 | Dev shell | A single container with dart, serverpod, scloud, infisical, claude, and the host's podman socket is enough to develop and deploy without installing anything on the host. |
experiment/dev-shell/ |
| 2 | Dill-only runtime | The server.dill artifact produced by serverpod start --watch is a self-contained deployable — a second container with only the Dart VM and runtime resources (no source, no CLI) can serve the same app. |
experiment/dill-runtime/ |
Each experiment is self-contained: its own README, Dockerfile, and compose file. Open the folder for prerequisites and reproduction steps.
Visual: docs/architecture.html — diagrams of
both setups (open locally in a browser).
Layout #
serverpod_demo/
├── README.md ← you are here
├── demo_project/ ← serverpod create scaffold (the app under test)
└── experiment/
├── dev-shell/ ← experiment 1
└── dill-runtime/ ← experiment 2
Conventions #
- Both experiments share Postgres on host port
8090, brought up bydemo_project/demo_project_server/docker-compose.yaml. Run(cd demo_project/demo_project_server && podman compose up -d postgres)once and leave it. - Both compose files declare
name: serverpod_demoso thepub-cachenamed volume is shared —dart pub getonly pays the cold cost once across experiments. - Host ports: dev shell publishes the Serverpod standard
8080/8081/8082; dill-runtime publishes18080/18081/18082. They can run side by side.