The requirejs code must be available and its path set in the settings of BTW with the variable BTW_REQUIREJS_PATH and BTW_REQUIREJS_CONFIG must be set to a javascript fragment that calls requirejs' config.
jQuery must be available for wed. If wed is using requirejs, then everything is taken care of. Otherwise, it must load before wed.
Nothing to say here...
BTW_WED_USE_REQUIREJS must be true if requirejs is used to load wed.
BTW_WED_PATH= must point to the source of wed. BTW_WED_CSS = must point to the css of wed.
...
- Python's Selenium package.
- behave (the python package)
- nginx is highly recommended.
If you want to contribute to salve, your code will have to pass the checks listed in .glerbl/repo_conf.py. So you either have to install glerbl to get those checks done for you or run the checks through other means. See Contributing.
See tech_notes.rst.
- ::
- $ ./manage.py test
- ::
- $ ./manage.py runserver
Then run a QUnit test by pointing your broswer to http://localhost:8000/search/tests/
There seem to be a small leakage of memory upon reloading a window with Wed in it.
Tests performed with Chrome's memory profiler by doing:
- One load.
- Issuing a memory profile.
- Reload.
- Issuing a memory profile.
Show that the whole Walker tree created before the first profile is created still exists at the time of the second profile. I do not know of a good explanation for this.
Contributions must pass the commit checks turned on in
<.glerbl/repo_conf.py>. Use glerbl install
to install the
hooks. Glerbl itself can be found at
https://github.com/lddubeau/glerbl. It will eventually make its way to
the Python package repository so that pip install glerbl
will
work.