diff --git a/conf/pagure.cfg.sample b/conf/pagure.cfg.sample index ca6d250..61bf898 100644 --- a/conf/pagure.cfg.sample +++ b/conf/pagure.cfg.sample @@ -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 diff --git a/scripts/install b/scripts/install index 278535a..154037f 100755 --- a/scripts/install +++ b/scripts/install @@ -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