Move script to docker folder

This commit is contained in:
Daniel García Aubert
2019-11-28 18:52:22 +01:00
parent 5f900a3b3c
commit f21f89f561
2 changed files with 23 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/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