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

Packaging advices (#2)

This commit is contained in:
Jean-Baptiste 2019-02-26 17:15:47 +01:00 committed by Ylies Chahi
parent e27059ed2b
commit a9d7bc8e5f

View file

@ -1,5 +1,12 @@
#!/bin/bash
# Here are some advices about the packaging:
# .respect order operation from https://github.com/YunoHost/example_ynh/blob/master/scripts/install (this is just style)
# .every sudo can be removed, they are not usefull anymore (everything is run as root)
# .use this helper for nginx: ynh_add_nginx_config (doc: https://helpers.yunohost.org/), it will requiere to rename document_root in final_path
# .use this helper for debian packages: ynh_install_app_dependencies (doc: https://helpers.yunohost.org/), mostly to make sure you dont remove usefull package for other application (or the other way around)
# .use PIP, here is an example https://github.com/YunoHost-Apps/weblate_ynh/blob/master/scripts/install#L196
#=================================================
# GENERIC START
#=================================================