Skip to content

Runtime commands

Every workshop binary built with worky includes a set of runtime commands for both participants and facilitators.

CommandDescription
serve [--port N] [--open] [--detach] [--preview]Start the local web server
check [chapter-id]Run checks for a chapter and unlock the next one
statusShow all chapters with lock/unlock/complete icons
resetClear all progress
unlock <chapter-id>Manually unlock a chapter (facilitator use)
stopKill the background server
logs [-f]Show (and optionally follow) server logs

Starts the local web server and serves the embedded site.

FlagDefaultDescription
--port NConfig.PortPort to listen on
--openfalseOpen browser automatically after start
--detachfalseRun server in background (writes PID + log file)
--previewfalseDisable chapter locking for content review
Terminal window
./my-workshop serve --open
./my-workshop serve --port 9090 --detach

Runs all checks for a chapter. If chapter-id is omitted, auto-detects the first unlocked, incomplete chapter.

Terminal window
./my-workshop check # auto-detect
./my-workshop check 01 # explicit

If all checks pass the chapter is marked complete and the next one is unlocked. See Checks for the full list of built-in validation functions.


Shows all chapters with icons:

✅ Chapter 00: Getting Started
🔓 Chapter 01: Hello World
🔒 Chapter 02: Finishing Up

Manually unlocks a chapter without running checks. Intended for facilitators who need to unblock a participant.

Terminal window
./my-workshop unlock 02

Clears all progress. The first chapter is unlocked, all others return to locked state.

Terminal window
./my-workshop reset

Terminal window
./my-workshop logs # print log file
./my-workshop logs -f # follow (tail -f style)

Logs are written to ~/<HomeDir>/server.log when the server is started with --detach.


Stops a server started with --detach.

Terminal window
./my-workshop stop

If the process is unresponsive, see Troubleshooting.