Skip to content
Snippets Groups Projects
Commit f9981e3a authored by David Schmitz's avatar David Schmitz
Browse files

install-debian.sh: add preparation of mkdocs-based internal documentation

parent be8171a8
Branches
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ ensure_installed_pythonenv_wrapper=1
install_mta=""
try_install_docu=1
#
install_db=""
......@@ -412,6 +414,16 @@ else
touch "$fod_dir/debug.log"
chown -R fod: "$fod_dir/log" "$fod_dir/logs" "$fod_dir/debug.log"
if [ "$try_install_docu" = 1 ]; then
echo "trying to install mkdocs-based documentation" 1>&2
(
set -e
which mkdocs 2>/dev/null >/dev/null || apt-get install mkdocs
cd "$fod_dir" && mkdocs build
true # in case of failure override failure status, as the documentation is non-essential
)
fi
#./manage.py syncdb --noinput
#mkdir -p /srv/flowspy/static/
mkdir -p "$static_dir"
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment