mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Adding spacing
This commit is contained in:
parent
439d39cd6c
commit
3c1e2fa074
1 changed files with 10 additions and 5 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue