Update packaging_apps.md

This commit is contained in:
opi@no-log.org 2014-11-04 09:39:30 +01:00 committed by YunoHost
parent 86902b741d
commit e4f5604709

View file

@ -3,12 +3,14 @@
There are few things you need to know if you want to package an application for YunoHost.
### Content
A YunoHost package looks like [this](https://github.com/Kloadut/roundcube_ynh), and is composed of:
A YunoHost package is composed of:
* A JSON file `manifest.json`
* A `scripts` directory, which contains the `install`, `remove` and `upgrade` scripts
* Optional other directories, like `sources` or `conf` if you need them
An example package is available here : https://github.com/opi/example_ynh, feel free to use it as a framework.
### Manifest
The `manifest.json` file defines the app's constants, a bunch of values that YunoHost needs to identify the app and install it correctly. It looks like this :