mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
try create admin during install
This commit is contained in:
parent
96ef6deb91
commit
cfb70e42bf
2 changed files with 3 additions and 0 deletions
Binary file not shown.
Before Width: | Height: | Size: 739 KiB After Width: | Height: | Size: 335 KiB |
|
@ -143,6 +143,9 @@ pushd "$install_dir/live/services/web"
|
||||||
#ynh_exec_warn_less npm install ldapts
|
#ynh_exec_warn_less npm install ldapts
|
||||||
#ynh_exec_warn_less npm install ldap-escape
|
#ynh_exec_warn_less npm install ldap-escape
|
||||||
ynh_secure_remove --file="$install_dir/live/services/web/node_modules/.cache"
|
ynh_secure_remove --file="$install_dir/live/services/web/node_modules/.cache"
|
||||||
|
# create admin user
|
||||||
|
ynh_exec_as $app node modules/server-ce-scripts/scripts/create-user --admin --email=admin_mail"
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
chmod 750 "$install_dir/live"
|
chmod 750 "$install_dir/live"
|
||||||
|
|
Loading…
Reference in a new issue