Chris Vogel 1 год назад
Родитель
Сommit
2df60130ba
2 измененных файлов с 10 добавлено и 4 удалено
  1. 6 3
      README.md
  2. 4 1
      scripts/install

+ 6 - 3
README.md

@@ -46,12 +46,15 @@ I also announced this work on the [yunohost forum](https://forum.yunohost.org/t/
   * ~~nginx just reverse proxy~~ done
     * disable http (without s)
   * remove script
-  * backup script (export flohmarkt data from couchdb)
+  * backup script
+    * export flohmarkt data from couchdb
+    * backup yunohost.app/$app
+    * check whether app settings are stored by yunohost framework (password, etc.)
 
 ### → 0.1 alpha
-* disable path selection and mark it that it needs its own domain.
+* ~~disable path selection and mark it that it needs its own domain.~~
 * tag 0.1 alpha
-* write limitations in README.md
+* write limitations in README.md (copy from `antifeatures` in manifest.toml)
 
 ### → 0.2 beta
 * restore script

+ 4 - 1
scripts/install

@@ -88,7 +88,10 @@ ynh_add_config --template="../conf/flohmarkt.conf" --destination="$install_dir/$
     source "$install_dir/venv/bin/activate"
     set -o nounset
     cd "$install_dir/$app"
-    python3 initialize_couchdb.py bla42fasel bla42fasel
+    # initialize_couchdb seems to re-try on connect problems endlessly blocking the yunohost api
+    # @@ todo take care of this
+    # 
+    python3 initialize_couchdb.py $password_couchdb_admin $password_couchdb_flohmarkt
 )
 
 # SETUP LOGROTATE