learningequality / ka-lite

KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity
https://learningequality.org/ka-lite/
Other
458 stars 305 forks source link

Command to easily reset user data #5341

Closed benjaoming closed 7 years ago

benjaoming commented 7 years ago

Summary

To allow for easier cloning of deployment prototypes, we need a way to encourage users to reset their user data (device registration!) on the prototype before cloning it to new devices.

Suggested command:

kalite manage clearuserdata --force

It will do the following:

  1. Remove .kalite/secretkey.txt
  2. Remove .kalite/database/data.sqlite

All videos, content packs, and content annotations will be preserved.

benjaoming commented 7 years ago

Fixed in #5343