2018-11-01 00:20:25 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-02-13 01:51:33 +08:00
|
|
|
/etc/init.d/postgresql start
|
|
|
|
|
2019-02-13 01:20:32 +08:00
|
|
|
source /src/nodejs-install.sh
|
2018-11-01 00:20:25 +08:00
|
|
|
|
2019-06-03 22:33:42 +08:00
|
|
|
# Install cartodb-postgresql extension
|
|
|
|
git clone https://github.com/CartoDB/cartodb-postgresql.git
|
|
|
|
cd cartodb-postgresql && make && make install && cd ..
|
|
|
|
|
2019-02-13 01:20:32 +08:00
|
|
|
echo "Node.js version: "
|
2018-11-01 00:20:25 +08:00
|
|
|
node -v
|
|
|
|
|
2019-02-22 00:34:29 +08:00
|
|
|
echo "npm version: "
|
|
|
|
npm -v
|
|
|
|
|
|
|
|
echo "Clean install: "
|
|
|
|
npm ci
|
|
|
|
npm ls
|
2017-10-07 00:24:11 +08:00
|
|
|
|
2018-04-27 21:46:57 +08:00
|
|
|
# run tests
|
2018-11-02 19:24:01 +08:00
|
|
|
npm test
|