Windshaft-cartodb/docker/scripts/test-setup.sh

15 lines
313 B
Bash
Raw Normal View History

2019-11-29 01:52:22 +08:00
#!/bin/bash
/etc/init.d/postgresql start
source /src/nodejs-install.sh
# Install cartodb-postgresql extension
git clone https://github.com/CartoDB/cartodb-postgresql.git
cd cartodb-postgresql && make && make install && cd ..
2019-12-01 20:04:56 +08:00
cp config/environments/test.js.example config/environments/test.js
2019-11-29 01:52:22 +08:00
npm ci
npm test