mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
add backend install script execute privilege and fixed nodejs with unbunu deprecated libssl1.0-dev
This commit is contained in:
@@ -10,9 +10,8 @@ touch /tmp/install.lock
|
||||
touch /tmp/install-nodejs.lock
|
||||
|
||||
# install node.js
|
||||
curl -sL https://deb.nodesource.com/setup_10.x | bash -
|
||||
apt-get update && apt install -y nodejs nodejs-dev node-gyp libssl1.0-dev
|
||||
apt-get update && apt install -y npm
|
||||
curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||
apt-get update && apt install -y nodejs
|
||||
|
||||
# install chromium
|
||||
# See https://crbug.com/795759
|
||||
|
||||
@@ -22,6 +22,9 @@ fi
|
||||
# start nginx
|
||||
service nginx start
|
||||
|
||||
#grant script
|
||||
chmod +x /app/backend/scripts/*.sh
|
||||
|
||||
# install languages
|
||||
if [ "${CRAWLAB_SERVER_LANG_NODE}" = "Y" ] || [ "${CRAWLAB_SERVER_LANG_JAVA}" = "Y" ] || [ "${CRAWLAB_SERVER_LANG_DOTNET}" = "Y" ] || [ "${CRAWLAB_SERVER_LANG_PHP}" = "Y" ] || [ "${CRAWLAB_SERVER_LANG_GO}" = "Y" ];
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user