#!/usr/bin/python2.7
# -*- coding: utf-8 -*-

"""config.py: TODO"""

import os

import bottle as app

# Paths:
ROOT = os.path.abspath(os.path.dirname(__file__))
STATIC = '{base}/static'.format(base=ROOT)
DATABASE = os.path.join(ROOT, 'db.sqlite3')
SESSION = os.path.join(ROOT, 'cache')

# URIs:
BASE_URI = 'http://mydomain.tld'

# Session:
SESSION_TYPE = 'file'
SESSION_AUTO = True

# Server:
SERVER = 'wsgiref'
HOST = 'mydomain.tld'
PORT = 8080
DEBUG = True
RELOADER = True

# OAuth Keys:
FB_APP_ID = ''
FB_APP_SECRET = ''

# Selections:
LIST_TYPES = {
    '0': 'Selling',
    '1': 'Buying',
    '2': 'Trading'
}

# CDNs:
CDN = 'http://ro-db.com/img/items/small_fro/{id}.png'
