Skip to content
Snippets Groups Projects
Commit 567c07a9 authored by chrissi^'s avatar chrissi^
Browse files

Flamingo: Move to new live-server


Also: Make sure flamingo is updated during every build

Signed-off-by: default avatarChris Fiege <chris@tinyhost.de>
parent 053dbde9
Branches
Tags
No related merge requests found
Pipeline #1430 passed
......@@ -6,7 +6,7 @@ WEBSERVER_PORT=8080
WEBSERVER_HOST=0.0.0.0
FLAMINGO_OUTPUT=output
FLAMINGO_ARGS=-p $(PROJECT_ROOT)
FLAMINGO_ARGS=-s settings.py
FLAMINGO_SERVER_ARGS=$(FLAMINGO_ARGS) --port=$(WEBSERVER_PORT) --host=$(WEBSERVER_HOST)
......@@ -17,7 +17,7 @@ $(PYTHON_VENV)/.created.deploy:
rm -rf $(PYTHON_VENV) && \
$(PYTHON) -m venv $(PYTHON_VENV) && \
. $(PYTHON_VENV)/bin/activate && \
pip install -r ./REQUIREMENTS-deploy.txt > $(PYTHON_VENV)/build.log 2>&1 && \
pip install --upgrade -r ./REQUIREMENTS-deploy.txt > $(PYTHON_VENV)/build.log 2>&1 && \
(date > $(PYTHON_VENV)/.created.deploy) || \
(echo "\e[31m"; cat $(PYTHON_VENV)/build.log; echo "\e[0m"; exit 1)
......@@ -25,7 +25,7 @@ deployenv: $(PYTHON_VENV)/.created.deploy
$(PYTHON_VENV)/.created.full:
. $(PYTHON_VENV)/bin/activate && \
pip install -r ./REQUIREMENTS-full.txt > $(PYTHON_VENV)/build.log 2>&1 && \
pip install --upgrade -r ./REQUIREMENTS-full.txt > $(PYTHON_VENV)/build.log 2>&1 && \
(date > $(PYTHON_VENV)/.created.full) || \
(echo "\e[31m"; cat $(PYTHON_VENV)/build.log; echo "\e[0m"; exit 1)
......@@ -51,7 +51,7 @@ html: deployenv sass
server: env sass
. $(PYTHON_VENV)/bin/activate && \
flamingo server $(FLAMINGO_SERVER_ARGS)
flamingo server2 $(FLAMINGO_SERVER_ARGS)
shell: env sass
. $(PYTHON_VENV)/bin/activate && \
......
import os
import flamingo
THEME_PATHS = [
'theme/',
]
PLUGINS = [
'flamingo.plugins.Redirects',
'flamingo.plugins.rstBootstrap3',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment