Windshaft-cartodb/docker/scripts/test-setup.sh
2019-12-01 13:04:56 +01:00

15 lines
313 B
Bash

#!/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 ..
cp config/environments/test.js.example config/environments/test.js
npm ci
npm test