kopia lustrzana https://github.com/wagtail/wagtail
Remove all reference to less/npm in docs and install scripts
rodzic
f8fae0d968
commit
e5e3f000ad
|
@ -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 <http://lesscss.org/>`_. 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
|
||||
~~~~~~~~~~~~
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue