import os

BASEDIR = os.path.abspath(os.path.dirname(__file__))

# Project
# -------

TITLE = 'MEMEX EXPLORER'
ADMINS = []

# Server
# ------

HOST = '0.0.0.0'
PORT = 5000
DEBUG = True

# Database
# --------

SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(BASEDIR, 'resources/app.db')
SQLALCHEMY_MIGRATE_REPO = os.path.join(BASEDIR, 'db_repository')

# Email
# -----

MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 465
MAIL_USE_TLS = False
MAIL_USE_SSL = True
MAIL_USERNAME = ''
MAIL_PASSWORD = ''
MAIL_DEBUG = True
DEFAULT_MAIL_SENDER = MAIL_USERNAME


# Crawlers Path
# -------------

SEED_FILES = os.path.join(BASEDIR, 'resources/seeds/')
MODEL_FILES = os.path.join(BASEDIR, 'resources/models/')
CONFIG_FILES = os.path.join(BASEDIR, 'resources/configs/')
# Temporal location of libs/profiles
LANG_DETECT_PATH = os.path.join(BASEDIR, 'resources/profiles/')

CRAWLS_PATH = os.path.join(BASEDIR, 'resources/crawls/')

IMAGE_SPACE_PATH = "/mnt/data/static/"


@@ -914,16 +914,75 @@
 wls/')%0A%0A
+IMAGE_SPACE_PATH= os.path.join(BASEDIR, 'static/images/')%0A#
 IMAGE_SP
@@ -1012,9 +1012,8 @@
 tatic/%22%0A
-%0A

change image_space path to static/images