diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-12-29 21:28:25 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-12-29 21:53:12 +0100 |
commit | c7f274041445f12a50204d1920065b58d5a21613 (patch) | |
tree | 1b6e4b2465589b844e438cbe8fc1efb7168a2282 /manage | |
parent | 1706b130a4eaa8bf493758ef69eca4e7e83a2fbf (diff) | |
download | searxng-c7f274041445f12a50204d1920065b58d5a21613.tar.gz searxng-c7f274041445f12a50204d1920065b58d5a21613.zip |
[mod] live build of a theme: LIVE_THEME=simple make run
Environment variable to get live builds while modifying CSS & JS of a theme::
LIVE_THEME=simple make run
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage')
-rwxr-xr-x | manage | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -117,6 +117,17 @@ fi # needed by sphinx-docs export DOCS_BUILD +webapp.run() { + SEARXNG_DEBUG=1 pyenv.cmd python -m searx.webapp & + sleep 3 + if [ "${LIVE_THEME}" ]; then + themes.live "${LIVE_THEME}" & + fi + xdg-open http://127.0.0.1:8888/ + wait -n + kill 0 +} + buildenv() { # settings file from repository's working tree are used by default |