Restore home page

This commit is contained in:
Josué Tille
2018-08-20 23:55:00 +02:00
parent e346c9eb06
commit f8b2336256
25 changed files with 916 additions and 0 deletions

View File

@@ -162,6 +162,7 @@ virtualenv "$final_path/local"
set -o nounset
cd "$final_path"
pip install --upgrade pip
pip install pyramid_chameleon
CFLAGS="-Wno-error -Wno-error=format-security" \
ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future" \
pip install --requirement "$final_path/requirements.txt"
@@ -171,6 +172,10 @@ virtualenv "$final_path/local"
touch "$final_path/local/COMPLETE"
)
# Add nice homepage
cp -r ../sources/page $final_path/syncserver/
(cd "$final_path/syncserver" && patch -p1 < $YNH_CWD/../sources/homepage.patch) || echo "Unable to apply patches"
#=================================================
# GENERIC FINALIZATION
#=================================================

View File

@@ -170,6 +170,7 @@ virtualenv "$final_path/local"
set -o nounset
cd "$final_path"
pip install --upgrade pip
pip install pyramid_chameleon
CFLAGS="-Wno-error -Wno-error=format-security" \
ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future" \
pip install --requirement "$final_path/requirements.txt"
@@ -179,6 +180,9 @@ virtualenv "$final_path/local"
touch "$final_path/local/COMPLETE"
)
# Add nice homepage
cp -r ../sources/page $final_path/syncserver/
(cd "$final_path/syncserver" && patch -p1 < $YNH_CWD/../sources/homepage.patch) || echo "Unable to apply patches"
#=================================================
# GENERIC FINALIZATION