mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Update change_url
This commit is contained in:
parent
0b7c006672
commit
e9ec4cb71d
1 changed files with 10 additions and 0 deletions
|
@ -113,6 +113,16 @@ ynh_add_config --template="../conf/.env" --destination="$final_path/.env"
|
|||
chmod 400 "$final_path/.env"
|
||||
chown $app:$app "$final_path/.env"
|
||||
|
||||
#=================================================
|
||||
# RUN DB MIGRATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Running DB initial migration..." --weight=3
|
||||
|
||||
pushd "$final_path"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn db:migrate
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALISATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue