1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/penpot_ynh.git synced 2024-09-03 19:56:56 +02:00

Merge pull request #36 from YunoHost-Apps/testing

Fixed `uuid-ossp` install
This commit is contained in:
Mateusz 2024-05-18 00:36:40 +02:00 committed by GitHub
commit 6196f80327
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 66 additions and 8 deletions

View file

@ -1,6 +1,7 @@
# All available README files by language # All available README files by language
- [Read the README in English](README.md) - [Read the README in English](README.md)
- [Lee el README en español](README_es.md)
- [Irakurri README euskaraz](README_eu.md) - [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md) - [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md) - [Le o README en galego](README_gl.md)

View file

@ -18,7 +18,7 @@ It shall NOT be edited by hand.
Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return.
**Shipped version:** 2.0.2~ynh1 **Shipped version:** 2.0.2~ynh2
## Screenshots ## Screenshots

48
README_es.md Normal file
View file

@ -0,0 +1,48 @@
<!--
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
No se debe editar a mano.
-->
# Penpot para Yunohost
[![Nivel de integración](https://dash.yunohost.org/integration/penpot.svg)](https://dash.yunohost.org/appci/app/penpot) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/penpot.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/penpot.maintain.svg)
[![Instalar Penpot con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=penpot)
*[Leer este README en otros idiomas.](./ALL_README.md)*
> *Este paquete le permite instalarPenpot rapidamente y simplement en un servidor YunoHost.*
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
## Descripción general
Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return.
**Versión actual:** 2.0.2~ynh2
## Capturas
![Captura de Penpot](./doc/screenshots/189871786-0b44f7cf-3a0a-4445-a87b-9919ec398bf7.gif)
## Documentaciones y recursos
- Sitio web oficial: <https://penpot.app/>
- Documentación usuario oficial: <https://help.penpot.app/user-guide/>
- Documentación administrador oficial: <https://help.penpot.app/technical-guide/>
- Repositorio del código fuente oficial de la aplicación : <https://github.com/penpot/penpot>
- Catálogo YunoHost: <https://apps.yunohost.org/app/penpot>
- Reportar un error: <https://github.com/YunoHost-Apps/penpot_ynh/issues>
## Información para desarrolladores
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/penpot_ynh/tree/testing
Para probar la rama `testing`, sigue asÍ:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/penpot_ynh/tree/testing --debug
o
sudo yunohost app upgrade penpot -u https://github.com/YunoHost-Apps/penpot_ynh/tree/testing --debug
```
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>

View file

@ -18,7 +18,7 @@ EZ editatu eskuz.
Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return.
**Paketatutako bertsioa:** 2.0.2~ynh1 **Paketatutako bertsioa:** 2.0.2~ynh2
## Pantaila-argazkiak ## Pantaila-argazkiak

View file

@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main.
Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return.
**Version incluse:** 2.0.2~ynh1 **Version incluse:** 2.0.2~ynh2
## Captures décran ## Captures décran

View file

@ -18,7 +18,7 @@ NON debe editarse manualmente.
Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return.
**Versión proporcionada:** 2.0.2~ynh1 **Versión proporcionada:** 2.0.2~ynh2
## Capturas de pantalla ## Capturas de pantalla

View file

@ -3,7 +3,7 @@
请勿手动编辑。 请勿手动编辑。
--> -->
# YunoHost 的 Penpot # YunoHost 的 Penpot
[![集成程度](https://dash.yunohost.org/integration/penpot.svg)](https://dash.yunohost.org/appci/app/penpot) ![工作状态](https://ci-apps.yunohost.org/ci/badges/penpot.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/penpot.maintain.svg) [![集成程度](https://dash.yunohost.org/integration/penpot.svg)](https://dash.yunohost.org/appci/app/penpot) ![工作状态](https://ci-apps.yunohost.org/ci/badges/penpot.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/penpot.maintain.svg)
@ -18,7 +18,7 @@
Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return.
**分发版本:** 2.0.2~ynh1 **分发版本:** 2.0.2~ynh2
## 截图 ## 截图

View file

@ -8,7 +8,7 @@ name = "Penpot"
description.en = "Design and prototyping platform" description.en = "Design and prototyping platform"
description.fr = "Plateforme de conception et de prototypage" description.fr = "Plateforme de conception et de prototypage"
version = "2.0.2~ynh1" version = "2.0.2~ynh2"
maintainers = ["orhtej2"] maintainers = ["orhtej2"]

View file

@ -180,6 +180,9 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log"
#================================================= #=================================================
# ADD A CONFIGURATION # ADD A CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Updating database configuration..."
ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" --database=$db_name
ynh_script_progression --message="Adding app's configuration file..." ynh_script_progression --message="Adding app's configuration file..."
ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js" ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js"

View file

@ -43,6 +43,9 @@ ynh_script_progression --message="Restoring the PostgreSQL database..." --weight
ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
ynh_script_progression --message="Updating database configuration..."
ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" --database=$db_name
#================================================= #=================================================
# RESTORE SYSTEM CONFIGURATIONS # RESTORE SYSTEM CONFIGURATIONS
#================================================= #=================================================

View file

@ -175,6 +175,9 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log"
#================================================= #=================================================
# UPDATE A CONFIG FILE # UPDATE A CONFIG FILE
#================================================= #=================================================
ynh_script_progression --message="Updating database configuration..."
ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" --database=$db_name
ynh_script_progression --message="Updating a configuration file..." ynh_script_progression --message="Updating a configuration file..."
ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js" ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js"