1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00

manifest, README

This commit is contained in:
Chris Vogel 2024-04-14 10:56:04 +02:00
parent 94e02cb8c3
commit 6fd71219e4
4 changed files with 38 additions and 6 deletions

View file

@ -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?

View file

@ -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 <mail_user>@<mail_domain>. Please provide the <mail_user> part."
ask.de = "E-Mail-Absender Benutzername"
help.de = "flohmarkt verschickt emails unter dem Absender <mail_user>@<mail_domain>. Bitte gib Deinen <mail_user> 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 <mail_user>@<mail_domain>. Please provide the <mail_domain> part."
ask.de = "E-Mail-Absender Domain"
help.de = "flohmarkt verschickt emails unter dem Absender <mail_user>@<mail_domain>. Bitte gib Deine <mail_domain> 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

BIN
static/flohmarkt_ynh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
static/flohmarkt_ynh.xcf Normal file

Binary file not shown.