mirror of https://github.com/searx/searx
Updated Grunt for the javascript files (markdown)
parent
9537c3d4a9
commit
3c1c5f335b
|
@ -1,10 +1,10 @@
|
|||
# Installing Grunt
|
||||
|
||||
To minify and uglify the javascript you will need to use Grunt. To do so, install it :
|
||||
To minify and uglify the javascript you will need to use Grunt. To do so, install it:
|
||||
|
||||
sudo npm install -g grunt-cli
|
||||
|
||||
It depends on NodeJS, so you might want to add it too before that :
|
||||
It depends on NodeJS, so you might want to add it too before that:
|
||||
|
||||
sudo apt-get install nodejs
|
||||
|
||||
|
@ -14,11 +14,11 @@ It depends on NodeJS, so you might want to add it too before that :
|
|||
# Executing Grunt
|
||||
|
||||
grunt-cli doesn't install the tool grunt, it only prepare the field. You'll have to download the package used by the gruntfile first.
|
||||
In the case of Searx, you'll have to do this :
|
||||
In the case of Searx, you'll have to do this:
|
||||
|
||||
cd searx/static/oscar
|
||||
npm install
|
||||
|
||||
Then, you can finally execute grunt here, or go back at the root of the project, and execute :
|
||||
Then, you can finally execute grunt here, or go back at the root of the project, and execute:
|
||||
|
||||
make grunt
|
Loading…
Reference in New Issue