zulip/tools/setup
Tomasz Kolek dbeab6aa6f Optimize checks of test database state by moving into Python.
Previously, the generate-fixtures shell script by called into Django
multiple times in order to check whether the database was in a
reasonable state.  Since there's a lot of overhead to starting up
Django, this resulted in `test-backend` and `test-js-with-casper`
being quite slow to run a single small test (2.8s or so) even on my
very fast laptop.

We fix this is by moving the checks into a new Python library, so that
we can avoid paying the Django startup overhead 3 times unnecessarily.
The result saves about 1.2s (~40%) from the time required to run a
single backend test.

Fixes #1221.
2016-10-05 10:40:19 -07:00
..
emoji_dump Fix names of sprite emojis. 2016-09-30 10:42:52 -07:00
__init__.py Add __init__.py to tools/ and tools/setup/. 2016-07-20 18:20:37 -07:00
download-zxcvbn Fix most redownloading in 'vagrant reload --provision'. 2016-06-02 22:32:56 -07:00
generate-fixtures Optimize checks of test database state by moving into Python. 2016-10-05 10:40:19 -07:00
generate-test-credentials Move test_credentials.js to var/casper. 2016-07-25 14:39:23 -07:00
install-aws-server tools: Rewrite install-server to not hardcode configuration. 2016-07-19 20:12:43 -07:00
install-node provision: Use NVM to install node and npm. 2016-09-23 14:34:44 -07:00
install-phantomjs zulip_tools.py: Move zulip_tools.py in scripts/lib. 2016-08-15 16:44:50 -07:00
postgres-init-dev-db Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
postgres-init-test-db Move tools/install-phantomjs to tools/setup/. 2016-05-26 18:28:14 +05:00
setup_venvs.py Patch activate script only in development. 2016-07-21 14:11:41 -07:00