mirror of
https://github.com/YunoHost-Apps/bookwyrm_ynh.git
synced 2024-09-03 18:16:12 +02:00
install Source Han Sans font
This commit is contained in:
parent
a6d98fd63a
commit
eb240ab5dd
2 changed files with 18 additions and 0 deletions
|
@ -50,6 +50,15 @@ $install_dir/venv/bin/python3 "$install_dir/manage.py" initdb
|
||||||
$install_dir/venv/bin/python3 "$install_dir/manage.py" compile_themes
|
$install_dir/venv/bin/python3 "$install_dir/manage.py" compile_themes
|
||||||
$install_dir/venv/bin/python3 "$install_dir/manage.py" collectstatic --no-input
|
$install_dir/venv/bin/python3 "$install_dir/manage.py" collectstatic --no-input
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# INSTALL SOURCE HAN SANS FONT
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Installing Source Han Sans font..." --weight=1
|
||||||
|
|
||||||
|
pushd $install_dir/static/fonts/source_han_sans
|
||||||
|
wget https://github.com/adobe-fonts/source-han-sans/raw/release/Variable/OTC/SourceHanSans-VF.ttf.ttc
|
||||||
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -70,6 +70,15 @@ $install_dir/venv/bin/python3 "$install_dir/manage.py" populate_streams
|
||||||
$install_dir/venv/bin/python3 "$install_dir/manage.py" makemigrations --merge --noinput
|
$install_dir/venv/bin/python3 "$install_dir/manage.py" makemigrations --merge --noinput
|
||||||
$install_dir/venv/bin/python3 "$install_dir/manage.py" migrate
|
$install_dir/venv/bin/python3 "$install_dir/manage.py" migrate
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# INSTALL SOURCE HAN SANS FONT
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Installing Source Han Sans font..." --weight=1
|
||||||
|
|
||||||
|
pushd $install_dir/static/fonts/source_han_sans
|
||||||
|
wget https://github.com/adobe-fonts/source-han-sans/raw/release/Variable/OTC/SourceHanSans-VF.ttf.ttc
|
||||||
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SET PERMISSIONS ON BOOKWYRM DIRECTORY
|
# SET PERMISSIONS ON BOOKWYRM DIRECTORY
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue