Thanks for your patience
We have some old documentation floating around, sorry about that. If you can point me to where you found these dev instructions, I can get them updated.
- The best procedure is:
# make and enable a virtual env
# ...then install dependencies:
pip install -r requirements_dev.txt
# This compiles all necessary assets
# Setup database etc.
bin/kalite manage setup
- Once initial has taken place, you can reuse this command, it rebuilds some JS assets at startup, so wait for this green status text to show up before loading it in the browser.
bin/kalite manage runserver --settings=kalite.project.settings.dev
For example: loading one of the math pages like "Count with small
numbers" takes a really long time. The page loads immediately but the
actual exercise doesn't show up for another 5-10 seconds.
This exercise is really problematic. I've tried profiling it, with no luck - it seems to be very slow compared to other exercises on upstream KA.org - I tried it some months back. However, now it has completely vanished within the past month or so.. maybe they've decided too that it was problematic. @richard or @radina-matic do you recall this particular exercise being buggy?
The replacement looks very similar but has a different slug... IMO, it's faster
Since the 0.17 content packs have just been rebuild, maybe @radina-matic knows if the exercise is updated...