Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
09ac43ea
Commit
09ac43ea
authored
10 years ago
by
Antony Lesuisse
Browse files
Options
Downloads
Patches
Plain Diff
[FIX] doc lessc installation instructions
parent
da4db6a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/setup/install.rst
+15
-9
15 additions, 9 deletions
doc/setup/install.rst
with
15 additions
and
9 deletions
doc/setup/install.rst
+
15
−
9
View file @
09ac43ea
...
...
@@ -317,24 +317,30 @@ Source installation requires manually installing dependencies:
- on Linux, use your distribution's package to install nodejs and npm.
In debian you need at least jessie, as the packaged version of npm before
that does not work. In Ubuntu you need at least Ubuntu 14.04, as the
packaged version of npm before that does not work. Otherwise install nodejs
and npm manually.
Once you have npm working, install less and less-plugin-clean-css.
In debian wheezy and Ubuntu 13.10 and before you need to install nodejs
manually.
.. code-block:: console
$ sudo npm install -g less less-plugin-clean-css
$ wget -qO- https://deb.nodesource.com/setup | bash -
$ apt-get install -y nodejs
On debian and Ubuntu you also need to set a symbolic link from noejs to
node because the shebang line of lessc uses node.
Starting from jessie and Ubuntu 14.04 the distribution's package works. But
you may need to had a symlink as npm packages shebngs uses node whereas
debian uses nodejs.
.. code-block:: console
$ apt-get install -y npm
$ sudo ln -s /usr/bin/nodejs /usr/bin/node
Once you have npm working, install less and less-plugin-clean-css.
.. code-block:: console
$ sudo npm install -g less less-plugin-clean-css
- on OS X, install nodejs via your preferred package manager (macports_,
homebrew_) then install less and less-plugin-clean-css.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment