Blame progit/default_config.py

Pierre-Yves Chibon 2088eb
#-*- coding: utf-8 -*-
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
"""
Pierre-Yves Chibon 2088eb
 (c) 2014 - Copyright Red Hat Inc
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
 Authors:
Pierre-Yves Chibon 2088eb
   Pierre-Yves Chibon <pingou@pingoured.fr></pingou@pingoured.fr>
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
"""
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
import os
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 43b199
# secret key used to generate unique csrf token
Pierre-Yves Chibon 43b199
SECRET_KEY = '<insert here="" key="" own="" your="">'</insert>
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# url to the database server:
Pierre-Yves Chibon 2088eb
DB_URL = 'sqlite:////var/tmp/progit_dev.sqlite'
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# The FAS group in which the admin of fedocal are
Pierre-Yves Chibon 2088eb
ADMIN_GROUP = 'progit_admin'
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# The email address to which the flask.log will send the errors (tracebacks)
Pierre-Yves Chibon 2088eb
EMAIL_ERROR = 'pingou@pingoured.fr'
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# The URL at which the project is available.
Pierre-Yves Chibon 2088eb
APP_URL = 'https://apps.fedoraproject.org/progit/'
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# Number of items displayed per page
Pierre-Yves Chibon 2088eb
ITEM_PER_PAGE = 50
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# Folder containing to the git repos
Pierre-Yves Chibon 2088eb
GIT_FOLDER = os.path.join(
Pierre-Yves Chibon 2088eb
    os.path.abspath(os.path.dirname(__file__)),
Pierre-Yves Chibon 2088eb
    '..',
Pierre-Yves Chibon 2088eb
    'repos'
Pierre-Yves Chibon 2088eb
)
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# Folder containing the forks repos
Pierre-Yves Chibon 2088eb
FORK_FOLDER = os.path.join(
Pierre-Yves Chibon 2088eb
    os.path.abspath(os.path.dirname(__file__)),
Pierre-Yves Chibon 2088eb
    '..',
Pierre-Yves Chibon 2088eb
    'forks'
Pierre-Yves Chibon 2088eb
)