1
0
Fork 0
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:
Jean-Baptiste Holcroft 2017-09-27 00:27:06 +02:00
parent ea571250f1
commit 946da28c3b

View file

@ -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"
) )
#================================================= #=================================================