diff --git a/README.md b/README.md index 2e68880..808b37f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,21 @@ -This is just a little beginning. +## status These are my notes about questions and ideas regarding packaging [flohmarkt](https://codeberg.org/flohmarkt/flohmarkt) for yunohost. +### installs, but only installs + +I've only been working on the install script, yet. 'Remove' fails or only partly removes what had been installed. + +**Warning:** This will probably break any existing installation of couchdb (there's an couchdb app to install just couchdb and expose its port via nginx reverse-proxy). + +To remove the stuff installed by the install script in my testing environment I use `systemctl stop flohmarkt.service; systemctl stop couchdb; yunohost app remove flohmarkt; rm -rf /var/lib/couchdb/; rm -rf /home/yunohost.app/flohmarkt; rm -rf /opt/flohmarkt`. + +**Another warning:** When installing flohmarkt on a a domain/path and letting it talk to other ActivityPub instances it will propagate a key associated to your domain. If you remove your flohmarkt from that domain and loose that key other instances might not want to talk to you anymore after you installed flohmarkt again on the same domain/path generating a new key. + +**This is really strictly for testing only, yet** + +### help welcome + You're welcome to take part by opening issues or sending pull requests. You can also reach me on Matrix in [Yunohost Apps development](https://matrix.to/#/%23yunohost-apps:matrix.org) as @chrichri:librem.one . I also announced this work on the [yunohost forum](https://forum.yunohost.org/t/ynh-flohmarkt-flohmarkt-as-an-app-for-yunohost/28455?u=chrichri). @@ -45,5 +59,3 @@ For 'yunohost user group' I'd like to have the registration urls rewritten by ng * is it possible to have multiple flohmarkt instances in one couchdb * database name could contain domain name - -* done? diff --git a/manifest.toml b/manifest.toml index c44e870..b51f8ff 100644 --- a/manifest.toml +++ b/manifest.toml @@ -67,20 +67,40 @@ ram.runtime = "50M" [install.password_couchdb_admin] # couchdb admin password type = "password" + ask.en = "CouchDB password for admin user" + help.en = "Don't forget to note this password somewhere! You need to provide this password during install and for future upgrades. If there's already a CouchDB installed provide the adminpassword for the existing installation." + ask.de = "Passwort für den admin Benutzer von CouchDB" + help.de = "Bitte das Passwort notieren und aufheben! Dieses Passwort muss bei der Installation und bei zukünftigen Upgrades eingegeben werden. Wenn bereits eine CouchDB installiert ist, hier das Passwort der bestehenden Installation eingeben." [install.password_couchdb_flohmarkt] # cochdb flohmarkt user password type = "password" + ask.en = "CouchDB password for flohmarkt user" + help.en = "This password will be used by flohmarkt during normal operation and is stored in its configuration file flohmarkt.conf" + ask.de = "Passwort für den admin Benutzer von CouchDB" + help.de = "Dieses Passwort wird von flohmarkt im normalen Betrieb verwendet und ist in der Konfigurationsdatei flohmarkt.conf gespeichert." + + [install.mail_user] + # @@ any type for this to make sure it can be used as the user part of an email address? + default = "flohmarkt" + ask.en = "mail sender local part" + help.en = "flohmarkt will send emails using the sender @. Please provide the part." + ask.de = "E-Mail-Absender Benutzername" + help.de = "flohmarkt verschickt emails unter dem Absender @. Bitte gib Deinen ein." [install.mail_domain] # @@ is there a 'type' that makes sure that on this domain email service is enabled? type = "domain" - - [install.mail_user] - # @@ any type for this to make sure it can be used as the user part of an email address? + ask.en = "mail sender domain part" + help.en = "flohmarkt will send emails using the sender @. Please provide the part." + ask.de = "E-Mail-Absender Domain" + help.de = "flohmarkt verschickt emails unter dem Absender @. Bitte gib Deine ein." [install.flohmarkt_name] # flohmarkt.conf: "InstanceName" + default = "my yunohost flohmarkt" + ask.en = "name of your flohmarkt instance" + ask.de = "Name des Flohmarkts" [resources] # See the packaging documentation for the full set diff --git a/static/flohmarkt_ynh.png b/static/flohmarkt_ynh.png new file mode 100644 index 0000000..85d30b5 Binary files /dev/null and b/static/flohmarkt_ynh.png differ diff --git a/static/flohmarkt_ynh.xcf b/static/flohmarkt_ynh.xcf new file mode 100644 index 0000000..93cd939 Binary files /dev/null and b/static/flohmarkt_ynh.xcf differ