mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
Create admin at installation
This commit is contained in:
parent
ea571250f1
commit
946da28c3b
1 changed files with 4 additions and 0 deletions
|
@ -174,6 +174,10 @@ ynh_replace_string "__SMTPPWD__" "$smtp_pwd" "$final_path/venv/lib/python2.7
|
||||||
# generate static files
|
# generate static files
|
||||||
weblate collectstatic --noinput
|
weblate collectstatic --noinput
|
||||||
weblate changesite --set-name "$domain"
|
weblate changesite --set-name "$domain"
|
||||||
|
weblate createadmin --no-color \
|
||||||
|
--password "weblate" \
|
||||||
|
--username "$admin" \
|
||||||
|
--email "$admin_mail"
|
||||||
)
|
)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue