From 3c1e2fa074b07d81f5a3fe44d14cfb61aa313239 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 17 Apr 2020 23:55:15 +0200 Subject: [PATCH] Adding spacing --- packaging_apps_advanced.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/packaging_apps_advanced.md b/packaging_apps_advanced.md index 74210ffe..fc43eab4 100644 --- a/packaging_apps_advanced.md +++ b/packaging_apps_advanced.md @@ -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 To install your mynewapp app: -``` + +```bash 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 ``` To remove your mynewapp app and reinstall it -``` + +```bash 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 ``` To backup your mynewapp app -``` + +```bash YNHAPP=mynewapp yunohost backup create --apps ${YNHAPP} --debug ``` To restore your mynewapp app from the backup just made -``` + +```bash YNHAPP=mynewapp yunohost backup restore XXXXXXXX-XXXXXX --apps ${YNHAPP} --debug ``` To upgrade your mynewapp -``` + +```bash YNHAPP=mynewapp yunohost app upgrade ${YNHAPP} -f /mycentralrepo/${YNHAPP}_ynh/ --debug