Creating courses
Video (1:17, Indonesian narration): building a course on sigro.id. More in 10 Video guides.
Everything is done in the browser, in the creator workspace (/creator). You need a creator or admin account: your email in LEARNING_CONTENT_ADMIN_EMAILS / PLATFORM_ADMIN_EMAILS, or the Creator role given in Admin → Users.
How a course is built
Course ── title, descriptions, topic, level, duration, outcomes, access (free / exclusive), featured
└─ Module ── title, description, "free module" switch, preview lesson
├─ Lesson ── title, duration, summary, YouTube link or uploaded MP4, text (rich HTML), knowledge checks
└─ Quiz ──── title, passing score, multiple-choice questions with explanations
Who can see what
| Course access | Visitor (not signed in) | Signed in, no Learning Pass | Learning Pass holder / admin |
|---|---|---|---|
| Free | Course page, preview lesson of each module | Every lesson, progress, quizzes | Everything |
| Exclusive | Course page, preview lesson of each module | Lessons in modules marked free; otherwise a Learning Pass prompt | Everything |
- Preview lesson: one lesson per module that anyone can open, to try the course. Pick it in the module settings.
- Free module: in an exclusive course, every lesson of that module is open to signed-in users (good for module 0 “Getting started”).
- Learning Pass: one payment (price in
site.config.ts) that unlocks every exclusive course, for life. Admins can also grant it by hand.
Step by step
- Creator → New draft. Fill title, short description (catalogue card), long description (course page), topic, level, estimated time and 3–5 outcomes (“After this course you can …”).
- Access: free or exclusive. Featured puts the course on the home page.
- Add a module, then lessons inside it:
- Video: paste a YouTube link (watch, share, Shorts, live or embed links all work), or upload an MP4 (max 100 MB, Replit App Storage required). A YouTube link takes priority over an upload.
- Content: the lesson text. Headings, lists, links, images, code and quotes are supported; HTML is sanitised on save, so scripts and unsafe attributes are removed.
- Knowledge checks: short questions inside the lesson, answered as the learner reads.
- Module quiz (optional): multiple-choice questions with the correct option, an explanation shown after answering, and a passing score in percent. Learners see their result; passing is recorded with their progress.
- Course resources (optional, below the editor): files (datasets, slides, PDFs) or links for learners with full access. Files need Replit App Storage.
- Save changes keeps the course as a draft, visible only in the creator workspace; open it from there to check it. Publish makes it public (Unpublish takes it back). The first time a course is published, users who opted in get a “new course” email (if email is configured).
Tips
- Keep lessons short (5–15 minutes); one idea per lesson. Put the practice files in course resources.
- Write the summary as the answer to “what will I be able to do after this lesson?”
- Each quiz question should test something the lesson taught, and the explanation should say why.
- The catalogue lists newest first. Re-publishing doesn’t change the order.
- Course text is written in one language (the one you type). The interface around it follows the visitor’s choice. For a bilingual catalogue, create one course per language and say so in the title.
Course data without the editor
Courses are stored as one row per course in the learning_content table; modules and lessons are a JSON column. scripts/src/seed-example-course.ts shows the exact structure and inserts or updates a course by slug: copy it to import courses you write in code or generate from another system, then run it with pnpm db:seed (or pnpm --filter @workspace/scripts exec tsx src/<your-file>.ts).
Blog, workshops and webinars
- Creator → Blog: articles with a cover, excerpt and topic; draft / publish.
- Creator → Workshops: live sessions with date, host, format, meeting link and details, capacity, and price (free or paid through Midtrans). Learning Pass holders get
workshopDiscountPercentoff paid workshops. A webinar is a workshop of the webinar type; registered users get reminder emails before it starts.