mirror of
https://github.com/YunoHost-Apps/chitchatter_ynh.git
synced 2024-09-03 18:15:59 +02:00
commit
bfd2dd2849
4 changed files with 10 additions and 10 deletions
|
@ -27,7 +27,7 @@ Chitchatter est un outil de communication gratuit (comme dans le prix et la libe
|
||||||
- Éphémère
|
- Éphémère
|
||||||
- Décentralisé
|
- Décentralisé
|
||||||
|
|
||||||
**Version incluse :** 1.0~ynh11
|
**Version incluse :** 1.0~ynh11
|
||||||
|
|
||||||
**Démo :** <https://chitchatter.im/>
|
**Démo :** <https://chitchatter.im/>
|
||||||
|
|
||||||
|
@ -54,4 +54,4 @@ ou
|
||||||
sudo yunohost app upgrade chitchatter -u https://github.com/YunoHost-Apps/chitchatter_ynh/tree/testing --debug
|
sudo yunohost app upgrade chitchatter -u https://github.com/YunoHost-Apps/chitchatter_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# nodejs version
|
# nodejs version
|
||||||
nodejs_version=20
|
nodejs_version=18
|
||||||
version_commit=fcf9fcea52d1e09d689ed6998d729aa8d08be604
|
version_commit=94a4b2fb2e2ffad7b2fb04a78257a6dac4e7095a
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
|
|
@ -33,9 +33,6 @@ pushd "$install_dir"
|
||||||
git reset --hard --quiet $version_commit
|
git reset --hard --quiet $version_commit
|
||||||
popd
|
popd
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
|
||||||
chown -R $app:www-data "$install_dir"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -56,6 +53,9 @@ pushd $install_dir
|
||||||
ynh_exec_warn_less $ynh_npm run build
|
ynh_exec_warn_less $ynh_npm run build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
chmod -R o-rwx "$install_dir"
|
||||||
|
chown -R $app:www-data "$install_dir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -23,9 +23,6 @@ pushd $install_dir
|
||||||
ynh_exec_as $app git pull
|
ynh_exec_as $app git pull
|
||||||
popd
|
popd
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
|
||||||
chown -R $app:www-data "$install_dir"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPGRADE DEPENDENCIES
|
# UPGRADE DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -53,6 +50,9 @@ pushd $install_dir
|
||||||
ynh_exec_warn_less $ynh_npm run build
|
ynh_exec_warn_less $ynh_npm run build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
chmod -R o-rwx "$install_dir"
|
||||||
|
chown -R $app:www-data "$install_dir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue