0.0.3 • Published 6 years ago
teacher-site v0.0.3
teacher-site
static site generator made for teachers and academic personnel
unfortunately content editing is still a manual process
you can reverse engineer example project while documentation is beeing written
How to use as CLI
- Install teacher-site globally from npm.
- To create new project (new site) use
tsite initin an empty directory. - Then use
tsite buildto build your static website. - Some content management can already be done with CLI
tsite add groupadds group to projecttsite add classadds class to projecttsite add subjectadds subject to projecttsite remove class [-g group-slug]remove class from group
How to use as API
- Require
{load, save, build}from teacher-site module - Use those accordingly to JSDoc.
TODO
big issues
- Web UI
- introduce other entities:
- resources for students
- exercises
- homeworks
small issues
remove <group|location|subject>commandls <group|class|location|subject>commandwatchcommandedit <group|class|location|subject>commandload-templatecommand- interactive
init - interactive
edit - add more templates
- maybe init should create loaded project and save it
- class slug should be autogen as it's generated in save>buildClasses