zulip/scripts/setup
umkay 798e6faa9e provision: Use NVM to install node and npm.
NVM takes a specific node version and installs the node package and
a corresponding compatible npm package.

We use it in a somewhat hackish way to install node/npm globally with
a pinned version, since that's how we actually want to consume node in
our development environment.

Other details:
- Travis CI now is configured to use the version of node installed by
provision; the easiest way to do this was to sabotage the existing node
installation.
- jsdom is upgraded to a current version, which both requires recent
node and also is required for the tests to pass with recent node.
This fixes running the node tests on Xenial.

Fixes #1498.

[tweaked by tabbott]
2016-09-23 14:34:44 -07:00
..
configure-rabbitmq Move bin/get-django-setting to scripts/. 2016-05-07 19:37:06 -07:00
flush-memcached Fix hanging nc and 'invalid wait time' error on Trusty. 2016-06-02 18:02:13 -07:00
generate_secrets.py Annotate generate_secrets.py. 2016-08-04 15:53:23 -07:00
initialize-database settings: Eliminate ADMIN_DOMAIN for creating initial realm. 2016-08-25 09:37:33 -07:00
install install: Give nice error message on installation failure. 2016-07-31 19:24:45 -07:00
node-wrapper provision: Use NVM to install node and npm. 2016-09-23 14:34:44 -07:00
npm-wrapper provision: Use NVM to install node and npm. 2016-09-23 14:34:44 -07:00
postgres-init-db Warn on postgres-init-db if >200 messages exist. 2016-06-13 15:57:51 -07:00
terminate-psql-sessions Correct shell quoting around $DEFAULT_USER in terminate-psql-sessions 2016-02-19 02:09:50 +00:00