YunoHost application logo

YunoHost package generator

Version: 0.11

In tutorial version, the generated app will contain additionnal comments to ease the understanding. In steamlined version, the generated app will only contain the necessary minimum.

1/9 - General information

It's the application name, displayed in the user interface

Small caps and without spaces

Explain in a few words (10-15) why this app is useful or what it does (the goal is to give a broad idea for the user browsing an hundred apps long catalog

Explain in a few words (10-15) why this app is useful or what it does (the goal is to give a broad idea for the user browsing an hundred apps long catalog

2/9 - Upstream information

The word 'upstream' refers to the original project that develops and maintains the app

You should check this on the upstream repository. The expected format is a SPDX id listed in https://spdx.org/licenses/

Leave empty if there is no official website

Leave empty if there is no official demo

Leave empty if there is no official admin doc

Leave empty if there is no official user doc

3/9 - Integration in YunoHost

Usually you put your name here... If you're okay with it ;)

Which means it's possible to use Yunohost credentials to log into this app. 'LDAP' corresponds to the technology used by Yunohost to handle a centralised user base. Bridging the app and Yunohost's LDAP often requires to add the proper technical details in the app's configuration file

Which means that people will be logged in the app after logging in YunoHost's portal, without having to sign on specifically into this app.

4/9 - Questions to ask during installation

This part is meant to indicate the questions that will be asked.
NB: only standard questions are asked here, it might be required to complete it by hand using other questions as a guide.

In the users groups : by default at least 'visitors', 'all_users' et 'admins' exists. (It was previously the private/public app concept)

In the case where the app has an admin interface

5/9 - Resources to initialize

Technical elements configured before launching the 'real' app install script. Usually : creating a system user, downloading app sources, initialiser le dossier d'install et de données, install apt dependencies, create a database, ...

Sources du logiciel

If the upstream software is hosted in one of the handled sources and publishes proper releases or tags, the bot will create a pull request to update the sources URL and checksum

By default it's /var/www/$app

By default it's /var/yunohost.app/$app

6/9 - Specific technology

Composer is a PHP dependencies manager used by some apps

For example: 16.4, 18, 18.2, 20, 20.1, ...

These commands are executed from the app installation folder (by default, /var/www/$app) after the sources have been deployed. This field uses by default a classic example based on the selected technology. You should probably compare and adapt it according to the app installation documentation

Corresponds to 'ExecStart' statement in systemd. You can use '__INSTALL_DIR__' to refer to the install directory, or '__APP__' to refer to the app id

7/9 - App configuration

Usually : .env, config.json, conf.ini, params.yml, ...

In this pattern, you can use the syntax __FOO_BAR__ which will automatically replaced by the value of the variable $foo_bar

8/9 - General and advanced documentation

Leave empty if not relevant

Leave empty if not relevant

Leave empty if not relevant

Leave empty if not relevant

Leave empty if not relevant

9/9 - Advanced options

Corresponds to some app periodic operations