mirror of
https://github.com/YunoHost-Apps/commento_ynh.git
synced 2024-09-03 18:16:16 +02:00
commit
de5f4f6139
8 changed files with 27 additions and 8 deletions
|
@ -28,7 +28,7 @@ Commento allows you to foster discussion on your website – if you have a blog,
|
|||
- Upvotes and downvotes
|
||||
|
||||
|
||||
**Shipped version:** 1.8.0~ynh2
|
||||
**Shipped version:** 1.8.0~ynh3
|
||||
|
||||
**Demo:** https://demo.commento.io/
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ Commento allows you to foster discussion on your website – if you have a blog,
|
|||
- Upvotes and downvotes
|
||||
|
||||
|
||||
**Version incluse :** 1.8.0~ynh2
|
||||
**Version incluse :** 1.8.0~ynh3
|
||||
|
||||
**Démo :** https://demo.commento.io/
|
||||
|
||||
|
|
20
conf/.env
20
conf/.env
|
@ -8,6 +8,12 @@ COMMENTO_STATIC=__FINALPATH__
|
|||
# Set PostgreSQL settings
|
||||
COMMENTO_POSTGRES=postgres://__DB_USER__:__DB_PWD__@127.0.0.1:5432/__DB_NAME__?sslmode=disable
|
||||
|
||||
# Used to disable new dashboard registrations.
|
||||
COMMENTO_FORBID_NEW_OWNERS=false
|
||||
|
||||
# If set to true, all static content will be served GZipped if the client's browser supports compression.
|
||||
COMMENTO_GZIP_STATIC=false
|
||||
|
||||
# Set the SMTP credentials
|
||||
#COMMENTO_SMTP_HOST=localhost
|
||||
#COMMENTO_SMTP_PORT=25
|
||||
|
@ -17,4 +23,16 @@ COMMENTO_POSTGRES=postgres://__DB_USER__:__DB_PWD__@127.0.0.1:5432/__DB_NAME__?s
|
|||
|
||||
# Set Google OAuth credentials
|
||||
COMMENTO_GOOGLE_KEY=
|
||||
COMMENTO_GOOGLE_SECRET=
|
||||
COMMENTO_GOOGLE_SECRET=
|
||||
|
||||
# Set GitHub OAuth credentials
|
||||
COMMENTO_GITHUB_KEY=
|
||||
COMMENTO_GITHUB_SECRET=
|
||||
|
||||
# Set GitLab OAuth credentials
|
||||
COMMENTO_GITLAB_KEY=
|
||||
COMMENTO_GITLAB_SECRET=
|
||||
|
||||
# Set Twitter OAuth credentials
|
||||
COMMENTO_TWITTER_KEY=
|
||||
COMMENTO_TWITTER_SECRET=
|
||||
|
|
|
@ -14,5 +14,6 @@ location / {
|
|||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
|
||||
more_clear_input_headers 'Accept-Encoding';
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Fast, privacy-focused commenting platform",
|
||||
"fr": "Plateforme de commentaires rapide axée sur la confidentialité"
|
||||
},
|
||||
"version": "1.8.0~ynh2",
|
||||
"version": "1.8.0~ynh3",
|
||||
"url": "https://commento.io/",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
|
|
|
@ -143,7 +143,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" --
|
|||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
|
@ -105,7 +105,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" --
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
|
@ -52,7 +52,7 @@ ynh_abort_if_errors
|
|||
#=================================================
|
||||
ynh_script_progression --message="Stopping a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
|
||||
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
|
||||
|
||||
#=================================================
|
||||
# ENSURE DOWNWARD COMPATIBILITY
|
||||
|
@ -135,7 +135,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" --
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
|
|
Loading…
Reference in a new issue