1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kiwiirc_ynh.git synced 2024-09-03 19:35:59 +02:00
This commit is contained in:
ericgaspar 2022-02-03 20:07:15 +01:00
parent 1243a4612f
commit b94197b3a4
2 changed files with 18 additions and 10 deletions

View file

@ -1,7 +1,7 @@
{ {
"windowTitle": "Kiwi IRC", "windowTitle": "Kiwi IRC",
"startupScreen": "welcome", "startupScreen": "welcome",
"kiwiServer": "https://__DOMAIN____PATH__", "kiwiServer": "/webirc/kiwiirc/",
"restricted": false, "restricted": false,
"theme": "Default", "theme": "Default",
"themes": [ "themes": [
@ -16,16 +16,11 @@
{ "name": "Elite", "url": "static/themes/elite" } { "name": "Elite", "url": "static/themes/elite" }
], ],
"startupOptions" : { "startupOptions" : {
"server": "irc.freenode.net", "server": "irc.libera.chat",
"port": 6697, "port": 6697,
"tls": true, "tls": true,
"channel": "#yunohost", "channel": "#yunohost",
"nick": "" "nick": "web?"
}, "infoContent": "<h3>Welcome to your Kiwi IRC page!</h3><p>Now to configure it.</p><p>You can modify this page via the /etc/kiwiirc/client.json file.<br />Add your IRC network details to /etc/kiwiirc/config.conf</p><p>Have a quick read through the config file - there are plenty of comments explaining each feature.</p>"
"embedly": { }
"key": ""
},
"plugins": [
{ "name": "customise", "url": "static/plugins/customise.html" }
]
} }

View file

@ -61,6 +61,19 @@ ynh_setup_source --dest_dir=$tempdir --source_id=app
ynh_exec_warn_less dpkg -i $tempdir/kiwiirc_20.05.24.1-1_amd64.deb ynh_exec_warn_less dpkg -i $tempdir/kiwiirc_20.05.24.1-1_amd64.deb
#=================================================
# ADD A CONFIGURATION
#=================================================
# ynh_script_progression --message="Adding a configuration file..." --weight=1
# ynh_add_config --template="../conf/config.conf.example" --destination="/etc/kiwiirc/config.conf"
# ynh_add_config --template="../conf/client.json.example" --destination="/etc/kiwiirc/client.json"
# chmod 600 "/etc/kiwiirc/config.conf"
# chown root: "/etc/kiwiirc/config.conf"
# chmod 600 "/etc/kiwiirc/client.json"
# chown root: "/etc/kiwiirc/client.json"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
#================================================= #=================================================