mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02:00
[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>
This commit is contained in:
parent
1706b130a4
commit
c7f2740414
4 changed files with 29 additions and 12 deletions
11
manage
11
manage
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue