mirror of
https://github.com/YunoHost-Apps/ffsync_ynh.git
synced 2024-09-03 18:26:38 +02:00
Merge branch 'testing'
This commit is contained in:
commit
e27b658397
5 changed files with 8 additions and 14 deletions
|
@ -13,6 +13,6 @@ Once installed, reaching `http://domain.tld/path` should show a page explaining
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
* Report a bug about this package: https://github.com/YunoHost-Apps/ffsync_ynh
|
* Report a bug about this package: https://github.com/YunoHost-Apps/ffsync_ynh
|
||||||
* Report a bug about Funkwhale itself: https://github.com/mozilla-services/syncserver
|
* Report a bug about firefox sync itself: https://github.com/mozilla-services/syncserver
|
||||||
* Documentation: https://docs.services.mozilla.com/howtos/run-sync-1.5.html
|
* Documentation: https://docs.services.mozilla.com/howtos/run-sync-1.5.html
|
||||||
* YunoHost website: https://yunohost.org/
|
* YunoHost website: https://yunohost.org/
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Note that we also need some specific dependances for build with arm architectures
|
||||||
|
dependances="python-dev python-virtualenv virtualenv uwsgi uwsgi-plugin-python build-essential libssl-dev libffi-dev"
|
||||||
|
|
||||||
# Check if system wide templates are available and correcly configured
|
# Check if system wide templates are available and correcly configured
|
||||||
#
|
#
|
||||||
# usage: ynh_check_global_uwsgi_config
|
# usage: ynh_check_global_uwsgi_config
|
||||||
|
|
|
@ -58,10 +58,7 @@ ynh_webpath_register "$app" "$domain" "$path_url"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Check depends installation
|
# Check depends installation
|
||||||
ynh_install_app_dependencies python-dev python-virtualenv \
|
ynh_install_app_dependencies $dependances
|
||||||
uwsgi uwsgi-plugin-python \
|
|
||||||
`# ARM support: ` \
|
|
||||||
build-essential libssl-dev libffi-dev
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE A MYSQL DATABASE
|
# CREATE A MYSQL DATABASE
|
||||||
|
|
|
@ -71,10 +71,7 @@ chmod u=rwX,g=rX,o= -R $final_path
|
||||||
# REINSTALL DEPENDENCIES
|
# REINSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_install_app_dependencies python-dev python-virtualenv \
|
ynh_install_app_dependencies $dependances
|
||||||
uwsgi uwsgi-plugin-python \
|
|
||||||
`# ARM support: ` \
|
|
||||||
build-essential libssl-dev libffi-dev
|
|
||||||
|
|
||||||
# set authorizations
|
# set authorizations
|
||||||
chown $app:root /var/log/uwsgi/$app
|
chown $app:root /var/log/uwsgi/$app
|
||||||
|
|
|
@ -93,10 +93,7 @@ path_url=$(ynh_normalize_url_path "$path_url")
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Check depends installation
|
# Check depends installation
|
||||||
ynh_install_app_dependencies python-dev python-virtualenv \
|
ynh_install_app_dependencies $dependances
|
||||||
uwsgi uwsgi-plugin-python \
|
|
||||||
`# ARM support: ` \
|
|
||||||
build-essential libssl-dev libffi-dev
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
|
Loading…
Reference in a new issue