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

Reset User Name and Password. #5501

Closed fhenson1 closed 7 years ago

fhenson1 commented 7 years ago

I need to reset the user name and password on a computer that already has Kalite installed.

I found the following:

If you have forgotten the username/password combination, simply run kalite manage createsuperuser in your Terminal.

I do not know what is meant by terminal.

Below is the link to the manual.

http://ka-lite.readthedocs.io/en/latest/usermanual/userman_admin.html

mrpau-eugene commented 7 years ago

Hi @fhenson1

On a windows machine, simply press the Windows key and search for cmd.

A command prompt should appear, then you can type the command kalite manage createsuperuser

benjaoming commented 7 years ago

@fhenson1 when you have the command line (AKA terminal), you need to "change directory" firstly to where the kalite script is located:

cd C:\Python27\Scripts
kalite manage createsuperuser

To change password for an existing user:

cd C:\Python27\Scripts
kalite manage changepassword <username>

To see other available commands:

cd C:\Python27\Scripts
kalite manage help

Please refer to our community forums for further support: http://community.learningequality.org/

fhenson1 commented 7 years ago

Benjamin

Thank you so much. The is exactly what I needed.

I am using Kalite in India and Kenya at slum schools. I am 77 so not very tech savvy but can follow the excellent instructions you provided.

Very grateful in Houston today,

Forrest

From: Benjamin Bach [mailto:notifications@github.com] Sent: Friday, August 18, 2017 1:53 PM To: learningequality/ka-lite Cc: fhenson1; Mention Subject: Re: [learningequality/ka-lite] Reset User Name and Password. (#5501)

@fhenson1 https://github.com/fhenson1 when you have the command line (AKA terminal), you need to "change directory" firstly to where the kalite script is located:

cd C:\Python27\Scripts kalite manage createsuperuser

To change password for an existing user:

cd C:\Python27\Scripts kalite manage changepassword

To see other available commands:

cd C:\Python27\Scripts kalite manage help

Please refer to our community forums for further support: http://community.learningequality.org/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/learningequality/ka-lite/issues/5501#issuecomment-323433623 , or mute the thread https://github.com/notifications/unsubscribe-auth/AP3RJj_6sYy0PS9AtxfxnuvLSiQQUp5Fks5sZd10gaJpZM4O7kBj . https://github.com/notifications/beacon/AP3RJgnZE2qmH9TTAIpOTuZBTefIVCcGks5sZd10gaJpZM4O7kBj.gif