mirror of
https://github.com/YunoHost-Apps/coin_ynh.git
synced 2024-09-03 18:16:26 +02:00
Misc fixes for the install to work ... though still WIP
This commit is contained in:
parent
8b19e8c364
commit
cc47c58e22
3 changed files with 10 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://code.ffdn.org/FFDN/coin/archive/571df323feac6cb8fb338a8341bbd8c329f0d238.tar.gz
|
SOURCE_URL=https://code.ffdn.org/ffdn/coin/-/archive/ce7740fbb1c790eb4e7fe8795256685f3275ca6a/archive.tar.gz
|
||||||
SOURCE_FILENAME=coin-2018-08-17-2.tar.gz
|
SOURCE_FILENAME=coin-ce7740fbb1c790eb4e7fe8795256685f3275ca6a.tar.gz
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_SUM=09026019017592ea178e19a54443dbe928d191c13d7bb030c50e9e267988bf98
|
SOURCE_SUM=db1dcc3a5df2bdabe0e59d0712a49d5d3ef85cb4491b605bc3614a84f4376f18
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
|
|
@ -28,8 +28,8 @@ DATABASES = {
|
||||||
'NAME': '{{ db_name }}',
|
'NAME': '{{ db_name }}',
|
||||||
'USER': '{{ db_user }}',
|
'USER': '{{ db_user }}',
|
||||||
'PASSWORD': '{{ db_pwd }}',
|
'PASSWORD': '{{ db_pwd }}',
|
||||||
'HOST': '', # Empty for localhost through domain sockets
|
'HOST': '127.0.0.1',
|
||||||
'PORT': '', # Empty for default
|
'PORT': '5432',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,12 +55,12 @@ FEEDS = (('ffdn', 'http://www.ffdn.org/fr/rss.xml', 3))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Tous accés
|
# Tous acces
|
||||||
# paramétrer SSO en protect_uris
|
# parametrer SSO en protect_uris
|
||||||
# OU
|
# OU
|
||||||
# Pas d'accès
|
# Pas d'acces
|
||||||
# hook
|
# hook
|
||||||
# paramétrer SSO en protect_uris
|
# parametrer SSO en protect_uris
|
||||||
import ldap
|
import ldap
|
||||||
from django_auth_ldap.config import LDAPSearch, PosixGroupType
|
from django_auth_ldap.config import LDAPSearch, PosixGroupType
|
||||||
AUTHENTICATION_BACKENDS = (
|
AUTHENTICATION_BACKENDS = (
|
||||||
|
|
|
@ -125,7 +125,7 @@ virtualenv "$final_path/venv"
|
||||||
# CONFIGURATION DJANGO
|
# CONFIGURATION DJANGO
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
export prefix="${path#"/"}/"
|
export prefix="${path_url#"/"}/"
|
||||||
prefix=${prefix%"/"}
|
prefix=${prefix%"/"}
|
||||||
ynh_render_template ../conf/local.py.j2 "$final_path/app/setings_local.py"
|
ynh_render_template ../conf/local.py.j2 "$final_path/app/setings_local.py"
|
||||||
ynh_store_file_checksum --file="$final_path/app/settings_local.py"
|
ynh_store_file_checksum --file="$final_path/app/settings_local.py"
|
||||||
|
|
Loading…
Add table
Reference in a new issue