From e5e3f000add9a7da346390fb3c1c71d2e979cc21 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Wed, 5 Mar 2014 20:05:26 +0000 Subject: [PATCH] Remove all reference to less/npm in docs and install scripts --- docs/performance.rst | 5 ----- scripts/install/debian.sh | 8 -------- scripts/install/ubuntu.sh | 4 ---- 3 files changed, 17 deletions(-) diff --git a/docs/performance.rst b/docs/performance.rst index cfbcea59e5..2f4a834e01 100644 --- a/docs/performance.rst +++ b/docs/performance.rst @@ -35,11 +35,6 @@ Database Wagtail is tested on SQLite, and should work on other Django-supported database backends, but we recommend PostgreSQL for production use. -Asset compression ------------------ - -The Wagtail editor UI is based on `Less `_. We aim to provide support for pure-Python Less compilation, to minimise installation requirements, but the official node.js-based compiler is significantly faster. We recommend installing this in production, and you may also prefer to use it to speed up your development environment. - Public users ~~~~~~~~~~~~ diff --git a/scripts/install/debian.sh b/scripts/install/debian.sh index 2b1c04326e..93f513d169 100644 --- a/scripts/install/debian.sh +++ b/scripts/install/debian.sh @@ -35,14 +35,6 @@ aptitude update aptitude -y install git python-pip nginx postgresql redis-server aptitude -y install postgresql-server-dev-all python-dev libxml2-dev libxslt-dev libjpeg62-dev -wget -nv http://nodejs.org/dist/v0.10.20/node-v0.10.20.tar.gz -tar xzf node-v0.10.20.tar.gz -cd node-v0.10.20 -./configure && make -s && make -s install -cd .. -rm -r node-v0.10.20 node-v0.10.20.tar.gz -npm install -g less - perl -pi -e "s/^(local\s+all\s+postgres\s+)peer$/\1trust/" /etc/postgresql/9.1/main/pg_hba.conf service postgresql reload diff --git a/scripts/install/ubuntu.sh b/scripts/install/ubuntu.sh index ac38d59106..ad7e11a0b6 100644 --- a/scripts/install/ubuntu.sh +++ b/scripts/install/ubuntu.sh @@ -33,10 +33,6 @@ aptitude update aptitude -y install git python-pip nginx postgresql redis-server aptitude -y install postgresql-server-dev-all python-dev libxml2-dev libxslt-dev libjpeg62-dev -aptitude -y install npm -ln -s /usr/bin/nodejs /usr/bin/node -npm install -g less - perl -pi -e "s/^(local\s+all\s+postgres\s+)peer$/\1trust/" /etc/postgresql/9.1/main/pg_hba.conf service postgresql reload