Getting the build an app example to work from the command-line

Indeed you need to mark at least one Panel object with .servable() for panel serve to pick it up and render it in the served app. In a notebook context, .servable() isn’t required as Panel objects support the rich display functionality offered by IPython. In a notebook again, marking an object with .servable() has no effect, it’s a no-op; it’s only useful if you ultimately serve directly the notebook with panel serve.