https://github.com/pwright/teachy-mcteachface
Create tutors.dev content using Logseq
https://github.com/pwright/teachy-mcteachface
tutors
Last synced: 14 days ago
JSON representation
Create tutors.dev content using Logseq
- Host: GitHub
- URL: https://github.com/pwright/teachy-mcteachface
- Owner: pwright
- License: mit
- Created: 2024-09-05T07:33:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-02T11:04:46.000Z (over 1 year ago)
- Last Synced: 2025-03-01T17:48:35.606Z (over 1 year ago)
- Topics: tutors
- Language: Python
- Homepage: https://pwright.github.io/Teachy-McTeachface/
- Size: 20.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Teachy-McTeachface
**Change this heading to match your course name**
This repos describes how to use logseq to author tutors.dev courses.
To convert from tutors to logseq, see [pwright/workshop-2024 at logseq]( https://github.com/pwright/workshop-2024/tree/logseq?tab=readme-ov-file#tutors-to-logseq ).
Create tutors.dev content using Logseq
**Prerequisites**
* [Logseq: A privacy-first, open-source knowledge base]( https://logseq.com/ )
You can use [Logseq]( https://demo.logseq.com/ ) if you give that website file access.
* [Node.js — How to install Node.js]( https://nodejs.org/en/learn/getting-started/how-to-install-nodejs ) - [nvm]( https://github.com/nvm-sh/nvm ) is an excellent option.
**Procedure**
1. Start Logseq and open the `logseq` folder of this repo as a graph.
2. Make some edits.
3. In the root folder of this repo, create the course using:
```bash
$ python template/logseq.py logseq/ build/ template/
```
4. Install tutors html publish using:
```bash
$ npm i -g tutors-html
```
5. Create the tutors html using:
```bash
$ cd build
$ tutors-html
```
The output html files are located in `build/public-site`.
**Reference**
```
$ python template/logseq.py
usage: logseq.py [-h] source destination template
logseq.py: error: the following arguments are required: source, destination, template
```