2014-11-30 12:21:58 +00:00
|
|
|
install dependencies
|
|
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2015-01-01 16:54:33 +00:00
|
|
|
run this command in the directory ``searx/static/themes/oscar``
|
2014-11-30 12:21:58 +00:00
|
|
|
|
|
|
|
``npm install``
|
|
|
|
|
|
|
|
compile sources
|
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
|
2015-01-01 16:54:33 +00:00
|
|
|
run this command in the directory ``searx/static/themes/oscar``
|
2014-11-30 12:21:58 +00:00
|
|
|
|
|
|
|
``grunt``
|
|
|
|
|
|
|
|
or in the root directory:
|
|
|
|
|
|
|
|
``make grunt``
|
2021-03-11 08:31:09 +00:00
|
|
|
|
|
|
|
directory structure
|
|
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
see:
|
|
|
|
|
|
|
|
- gruntfile.js
|
|
|
|
- package.json
|
|
|
|
|
|
|
|
*************
|
|
|
|
css directory
|
|
|
|
*************
|
|
|
|
|
|
|
|
- ``bootstrap*``: bootstrap NPM package,
|
|
|
|
- ``leaflet.*``: leaflet NPM package
|
|
|
|
- ``leaflet.min.css``: minimized version of ``leaflet.css`` (see gruntfile.js)
|
|
|
|
- ``logicodev.*``: compiled from ``src/less/logicodev``
|
|
|
|
- ``logicodev-dark*``: compiled from ``src/less/logicodev-dark``
|
|
|
|
- ``pointhi*``: compiled from ``src/less/pointhi``
|
|
|
|
- ``images``: leaflet NPM package
|
|
|
|
|
|
|
|
**************
|
|
|
|
font directory
|
|
|
|
**************
|
|
|
|
|
|
|
|
- from bootstrap NPM package
|
|
|
|
|
|
|
|
************
|
|
|
|
js directory
|
|
|
|
************
|
|
|
|
|
|
|
|
- ``searx.*``: compiled from ``src/js``
|
|
|
|
- other files are from NPM packages
|
|
|
|
|
|
|
|
*************
|
|
|
|
img directory
|
|
|
|
*************
|
|
|
|
|
|
|
|
- images for the oscar theme
|