From f34d6b5988c2d3d7e05a01516cae351068aa21b7 Mon Sep 17 00:00:00 2001 From: kressi Date: Tue, 24 May 2016 14:54:57 +0200 Subject: [PATCH 1/2] added npm, missing deb/ubuntu dependecy --- install_scripts/setup_frappe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_scripts/setup_frappe.sh b/install_scripts/setup_frappe.sh index 0e81b118..374cb89c 100755 --- a/install_scripts/setup_frappe.sh +++ b/install_scripts/setup_frappe.sh @@ -209,7 +209,7 @@ install_packages() { run_cmd sudo apt-get install -y python-dev python-setuptools build-essential python-mysqldb git \ ntp vim screen htop mariadb-server mariadb-common libmariadbclient-dev \ libxslt1.1 libxslt1-dev redis-server libssl-dev libcrypto++-dev postfix nginx \ - supervisor python-pip fontconfig libxrender1 libxext6 xfonts-75dpi xfonts-base nodejs + supervisor python-pip fontconfig libxrender1 libxext6 xfonts-75dpi xfonts-base nodejs npm if [ $OS_VER == "precise" ]; then run_cmd sudo apt-get install -y libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk From 121cb8669878acf026efdbd9becd1e9a13942c7e Mon Sep 17 00:00:00 2001 From: kressi Date: Wed, 25 May 2016 14:40:53 +0200 Subject: [PATCH 2/2] moved npm to only OS_VER = 8 of debian --- install_scripts/setup_frappe.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/install_scripts/setup_frappe.sh b/install_scripts/setup_frappe.sh index 374cb89c..56eb7078 100755 --- a/install_scripts/setup_frappe.sh +++ b/install_scripts/setup_frappe.sh @@ -209,14 +209,17 @@ install_packages() { run_cmd sudo apt-get install -y python-dev python-setuptools build-essential python-mysqldb git \ ntp vim screen htop mariadb-server mariadb-common libmariadbclient-dev \ libxslt1.1 libxslt1-dev redis-server libssl-dev libcrypto++-dev postfix nginx \ - supervisor python-pip fontconfig libxrender1 libxext6 xfonts-75dpi xfonts-base nodejs npm + supervisor python-pip fontconfig libxrender1 libxext6 xfonts-75dpi xfonts-base nodejs if [ $OS_VER == "precise" ]; then - run_cmd sudo apt-get install -y libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk + run_cmd sudo apt-get install -y libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev \ + liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk elif [ $OS_VER == "8" ]; then - run_cmd sudo apt-get install -y libtiff5-dev libjpeg62-turbo-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk + run_cmd sudo apt-get install -y libtiff5-dev libjpeg62-turbo-dev zlib1g-dev libfreetype6-dev \ + liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk npm else - run_cmd sudo apt-get install -y libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk + run_cmd sudo apt-get install -y libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev \ + liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk fi echo "Installing wkhtmltopdf"