This is the code for the KA Lite Central Server: https://kalite.learningequality.org
- Install requirements:
- install node if you don't have it already.
- Get the codebase:
git clone git@github.com:fle-internal/ka-lite-central.git
- Install the dependencies listed in packages.json:
sudo npm install
- Install grunt:
sudo npm install -g grunt-cli
- Go into the centralserver directory:
cd centralserver
- Set up the server:
python manage.py setup
- Return to the root directory: 'cd ..'
- Run grunt in the root directory:
grunt
- Return to the code directory:
cd centralserver
- Set up a custom
centralserver/local_settings.py
file (see below) - Run the server:
python manage.py runserver
You may create a centralserver/local_settings.py
file to customize your setup. Here are a few options to consider:
DEBUG = True
- turns on debug messagesEMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
- will output email messages (like account registration and contact) to the consoleUSE_DEBUG_TOOLBAR = True
- Use the Django debug toolbar, which gives info about queries, context values, and more!
CROWDIN_PROJECT_ID
andCROWDIN_PROJECT_KEY
- these are private; you'll have to get in touch with a (FLE) team member who has them.-
KA_CROWDIN_PROJECT_ID
andKA_CROWDIN_PROJECT_KEY
- these are private (from Khan Academy); you'll have to get in touch with a (FLE) team member who has them.