| 
									
										
										
										
											2014-11-30 13:21:58 +01:00
										 |  |  | install dependencies
 | 
					
						
							|  |  |  | ~~~~~~~~~~~~~~~~~~~~
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-01-01 17:54:33 +01:00
										 |  |  | run this command in the directory ``searx/static/themes/oscar``
 | 
					
						
							| 
									
										
										
										
											2014-11-30 13:21:58 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | ``npm install``
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | compile sources
 | 
					
						
							|  |  |  | ~~~~~~~~~~~~~~~
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-01-01 17:54:33 +01:00
										 |  |  | run this command in the directory ``searx/static/themes/oscar``
 | 
					
						
							| 
									
										
										
										
											2014-11-30 13:21:58 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | ``grunt``
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | or in the root directory:
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ``make grunt``
 | 
					
						
							| 
									
										
										
										
											2021-03-11 09:31:09 +01: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
 |