mirror of
https://github.com/YunoHost-Apps/fab-manager_ynh.git
synced 2024-09-03 18:36:16 +02:00
Merge pull request #122 from YunoHost-Apps/testing
Testing - fix bookworm
This commit is contained in:
commit
9ad968d678
7 changed files with 9 additions and 9 deletions
|
@ -5,7 +5,7 @@ It shall NOT be edited by hand.
|
|||
|
||||
# Fab-manager for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/fab-manager)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/fab-manager/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=fab-manager)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ No se debe editar a mano.
|
|||
|
||||
# Fab-manager para Yunohost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/fab-manager)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/fab-manager/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=fab-manager)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ EZ editatu eskuz.
|
|||
|
||||
# Fab-manager YunoHost-erako
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/fab-manager)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/fab-manager/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=fab-manager)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main.
|
|||
|
||||
# Fab-manager pour YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/fab-manager)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/fab-manager/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=fab-manager)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ NON debe editarse manualmente.
|
|||
|
||||
# Fab-manager para YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/fab-manager)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/fab-manager/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=fab-manager)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# YunoHost 上的 Fab-manager
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/fab-manager)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/fab-manager/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=fab-manager)
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ fabmanager_build_ruby() {
|
|||
fabmanager_seed_db() {
|
||||
pushd "$install_dir"
|
||||
ynh_replace_string --match_string="DateTime.current" --replace_string="DateTime.current - 1.days" --target_file="$install_dir/db/seeds.rb"
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production "$ynh_ruby_load_path" "$ld_preload" \
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production "$ynh_ruby_load_path" $ld_preload \
|
||||
bin/bundle exec rake db:seed ADMIN_EMAIL="$admin_mail" ADMIN_PASSWORD="$password"
|
||||
popd
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ fabmanager_seed_db() {
|
|||
fabmanager_migrate_db() {
|
||||
pushd "$install_dir"
|
||||
ynh_psql_execute_as_root --database="$db_name" --sql="ALTER USER $db_user WITH SUPERUSER;"
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production "$ynh_ruby_load_path" "$ld_preload" bin/bundle exec rake db:migrate
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production "$ynh_ruby_load_path" $ld_preload bin/bundle exec rake db:migrate
|
||||
ynh_psql_execute_as_root --database="$db_name" --sql="ALTER USER $db_user WITH NOSUPERUSER;"
|
||||
popd
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ fabmanager_build_ui() {
|
|||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn install
|
||||
#ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production "$ynh_ruby_load_path" $ld_preload yarn install
|
||||
#ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production "$ynh_ruby_load_path" $ld_preload bin/webpack
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production "$ynh_ruby_load_path" "$ld_preload" bin/bundle exec rake assets:precompile
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production "$ynh_ruby_load_path" $ld_preload bin/bundle exec rake assets:precompile
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn cache clean --all
|
||||
popd
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue