mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Update packaging_apps_helpers.md
This commit is contained in:
parent
8c6de8ea2b
commit
cdb67e5294
1 changed files with 12 additions and 2 deletions
|
@ -1,11 +1,21 @@
|
|||
<a class="btn btn-lg btn-default" href="packaging_apps_en">Application packaging</a>
|
||||
|
||||
### Helpers
|
||||
It's recommended to use helpers.
|
||||
|
||||
#### Shell
|
||||
From YunoHost 2.4, [shell helpers](https://github.com/YunoHost/yunohost/tree/unstable/data/apps/helpers.d) are available.
|
||||
|
||||
To use them, you need to add following lines in the shell scripts:
|
||||
```bash
|
||||
# Source app helpers
|
||||
. /usr/share/yunohost/apps/helpers
|
||||
```
|
||||
<br />
|
||||
|
||||
#### Moulinette
|
||||
The CLI [moulinette](/moulinette) provides a few tools to make the packager's work easier:
|
||||
|
||||
<br>
|
||||
|
||||
```bash
|
||||
sudo yunohost app checkport <port>
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue