Adding spacing

This commit is contained in:
yalh76 2020-04-17 23:55:15 +02:00
parent 439d39cd6c
commit 3c1e2fa074

View file

@ -63,31 +63,36 @@ Use and abuse of `yunohost app install` `--args` argument
You can do ugly thing considering mynewapp is the name/REPLACEBYYOURAPP of your app You can do ugly thing considering mynewapp is the name/REPLACEBYYOURAPP of your app
To install your mynewapp app: To install your mynewapp app:
```
```bash
YNHAPP=mynewapp YNHAPP=mynewapp
yunohost app install /mycentralrepo/${YNHAPP}_ynh/ --debug --force --args domain=test11.mydomain.org&path=/myapp&admin=alice&is_public=true&language=en&password=awesomepassword yunohost app install /mycentralrepo/${YNHAPP}_ynh/ --debug --force --args domain=test11.mydomain.org&path=/myapp&admin=alice&is_public=true&language=en&password=awesomepassword
``` ```
To remove your mynewapp app and reinstall it To remove your mynewapp app and reinstall it
```
```bash
YNHAPP=mynewapp YNHAPP=mynewapp
yunohost app remove ${YNHAPP} --debug && yunohost app install /mycentralrepo/${YNHAPP}_ynh/ --debug --force --args domain=test11.mydomain.org&path=/myapp&admin=alice&is_public=true&language=en&password=awesomepassword yunohost app remove ${YNHAPP} --debug && yunohost app install /mycentralrepo/${YNHAPP}_ynh/ --debug --force --args domain=test11.mydomain.org&path=/myapp&admin=alice&is_public=true&language=en&password=awesomepassword
``` ```
To backup your mynewapp app To backup your mynewapp app
```
```bash
YNHAPP=mynewapp YNHAPP=mynewapp
yunohost backup create --apps ${YNHAPP} --debug yunohost backup create --apps ${YNHAPP} --debug
``` ```
To restore your mynewapp app from the backup just made To restore your mynewapp app from the backup just made
```
```bash
YNHAPP=mynewapp YNHAPP=mynewapp
yunohost backup restore XXXXXXXX-XXXXXX --apps ${YNHAPP} --debug yunohost backup restore XXXXXXXX-XXXXXX --apps ${YNHAPP} --debug
``` ```
To upgrade your mynewapp To upgrade your mynewapp
```
```bash
YNHAPP=mynewapp YNHAPP=mynewapp
yunohost app upgrade ${YNHAPP} -f /mycentralrepo/${YNHAPP}_ynh/ --debug yunohost app upgrade ${YNHAPP} -f /mycentralrepo/${YNHAPP}_ynh/ --debug