Quickstart: self-host
Run the engine with Docker, add a course folder, and check a lesson's exercise.
On this page
At the end your own engine serves a course, and a learner’s exercise is checked by it.
Start the engine
Copy the
compose.yamlfrom Docker, set a root token and how people sign in, then:Terminal docker compose up -d curl http://localhost:8097/v1/healthYou should see{"status":"ok"}Add a course
A course is a folder of lesson files (The lesson format). Check it and upload it:
Terminal npx @sypnia/learn login --server http://localhost:8097 npx @sypnia/learn lint ./courses/team-onboarding npx @sypnia/learn courses add ./courses/team-onboardingYou should seeteam-onboarding: 6 lessons, 0 problems. Published as version 1.
Configure the runner that checks exercises before real learners use it: Configuration.