mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Update packaging_apps.md
This commit is contained in:
parent
86902b741d
commit
e4f5604709
1 changed files with 3 additions and 1 deletions
|
@ -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 :
|
||||
|
|
Loading…
Add table
Reference in a new issue