1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pagure_ynh.git synced 2024-09-03 19:56:19 +02:00

improving

This commit is contained in:
yalh76 2022-04-29 01:40:08 +02:00
parent b79b4f5f24
commit f2cc036056
2 changed files with 3 additions and 4 deletions

View file

@ -189,16 +189,16 @@ SESSION_COOKIE_SECURE = True
# The name of the cookie used to store the session id.
# Default: ``.pagure``.
SESSION_COOKIE_NAME = 'pagure'
SESSION_COOKIE_NAME = '__APP__'
# Boolean specifying whether to check the user's IP address when retrieving
# its session. This make things more secure (thus is on by default) but
# under certain setup it might not work (for example is there are proxies
# in front of the application).
CHECK_SESSION_IP = True
CHECK_SESSION_IP = False
# Used by SESSION_COOKIE_PATH
APPLICATION_ROOT = '/'
APPLICATION_ROOT = '/__PATH__'
# Allow the backward compatiblity endpoints for the old URLs schema to
# see the commits of a repo. This is only interesting if you pagure instance

View file

@ -174,7 +174,6 @@ pushd "$final_path"
pip install pygit2
pip install "jinja2<3.1.0"
pip install -r requirements.txt
read -p "ppp"
ynh_add_config --template="../conf/alembic.ini" --destination="$final_path/alembic.ini"
PAGURE_CONFIG=${final_path}/pagure.cfg python createdb.py --initial alembic.ini 2>&1
popd