1
0
Fork 0
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:
Salamandar 2024-06-28 00:09:43 +02:00 committed by GitHub
commit 9ad968d678
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 9 additions and 9 deletions

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Fab-manager for YunoHost
[![Integration level](https://dash.yunohost.org/integration/fab-manager.svg)](https://dash.yunohost.org/appci/app/fab-manager) ![Working status](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/fab-manager.svg)](https://ci-apps.yunohost.org/ci/apps/fab-manager/) ![Working status](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![Install Fab-manager with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=fab-manager)

View file

@ -5,7 +5,7 @@ No se debe editar a mano.
# Fab-manager para Yunohost
[![Nivel de integración](https://dash.yunohost.org/integration/fab-manager.svg)](https://dash.yunohost.org/appci/app/fab-manager) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![Nivel de integración](https://dash.yunohost.org/integration/fab-manager.svg)](https://ci-apps.yunohost.org/ci/apps/fab-manager/) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![Instalar Fab-manager con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=fab-manager)

View file

@ -5,7 +5,7 @@ EZ editatu eskuz.
# Fab-manager YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/fab-manager.svg)](https://dash.yunohost.org/appci/app/fab-manager) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![Integrazio maila](https://dash.yunohost.org/integration/fab-manager.svg)](https://ci-apps.yunohost.org/ci/apps/fab-manager/) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![Instalatu Fab-manager YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=fab-manager)

View file

@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main.
# Fab-manager pour YunoHost
[![Niveau dintégration](https://dash.yunohost.org/integration/fab-manager.svg)](https://dash.yunohost.org/appci/app/fab-manager) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![Niveau dintégration](https://dash.yunohost.org/integration/fab-manager.svg)](https://ci-apps.yunohost.org/ci/apps/fab-manager/) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![Installer Fab-manager avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=fab-manager)

View file

@ -5,7 +5,7 @@ NON debe editarse manualmente.
# Fab-manager para YunoHost
[![Nivel de integración](https://dash.yunohost.org/integration/fab-manager.svg)](https://dash.yunohost.org/appci/app/fab-manager) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![Nivel de integración](https://dash.yunohost.org/integration/fab-manager.svg)](https://ci-apps.yunohost.org/ci/apps/fab-manager/) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![Instalar Fab-manager con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=fab-manager)

View file

@ -5,7 +5,7 @@
# YunoHost 上的 Fab-manager
[![集成程度](https://dash.yunohost.org/integration/fab-manager.svg)](https://dash.yunohost.org/appci/app/fab-manager) ![工作状态](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![集成程度](https://dash.yunohost.org/integration/fab-manager.svg)](https://ci-apps.yunohost.org/ci/apps/fab-manager/) ![工作状态](https://ci-apps.yunohost.org/ci/badges/fab-manager.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/fab-manager.maintain.svg)
[![使用 YunoHost 安装 Fab-manager](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=fab-manager)

View file

@ -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
}