23 lines
351 B
Bash
23 lines
351 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 ..
|
|
|
|
echo "Node.js version: "
|
|
node -v
|
|
|
|
echo "npm version: "
|
|
npm -v
|
|
|
|
echo "Clean install: "
|
|
npm ci
|
|
npm ls
|
|
|
|
# run tests
|
|
npm test
|