2018-11-08 02:03:52 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-04-27 22:12:47 +08:00
|
|
|
/etc/init.d/postgresql start
|
|
|
|
|
2019-02-13 01:52:57 +08:00
|
|
|
source /src/nodejs-install.sh
|
|
|
|
|
2018-11-08 02:21:46 +08:00
|
|
|
# Configure
|
|
|
|
./configure
|
|
|
|
|
2019-06-03 23:45:04 +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:52:57 +08:00
|
|
|
echo "Node.js version: "
|
2018-11-08 02:03:52 +08:00
|
|
|
node -v
|
2018-04-27 22:38:36 +08:00
|
|
|
|
2019-02-13 01:52:57 +08:00
|
|
|
echo "npm version:"
|
|
|
|
npm -v
|
2018-11-08 02:03:52 +08:00
|
|
|
|
2019-02-13 01:52:57 +08:00
|
|
|
# install dependencies
|
2019-02-22 01:55:27 +08:00
|
|
|
npm ci
|
|
|
|
npm ls
|
2018-04-27 22:12:47 +08:00
|
|
|
|
2018-04-27 23:40:13 +08:00
|
|
|
npm test
|