<gh_stars>10-100
import os

# Local apps directory
APPS_DIR = os.path.dirname(os.path.abspath(__file__))

# Local app directory
REPO_DIR = os.path.split(APPS_DIR)[0]

# Data directory
DATA_DIR = os.path.join(REPO_DIR, 'data')

# Upload directory
UPLOAD_DIR = os.path.join(APPS_DIR, 'uploads')
# Playback url
PLAYBACK_DIR = os.path.join(APPS_DIR, 'playback')

# Static directory local name
STATIC_DIRNAME = 'static'
STATIC_FULLPATH = os.path.join(APPS_DIR, STATIC_DIRNAME)
#STATIC_FULLPATH = os.path.join(os.getcwd(), 'apps', STATIC_DIRNAME)
if not os.path.exists(STATIC_FULLPATH):
    os.makedirs(STATIC_FULLPATH)
if not os.path.exists(DATA_DIR):
    os.makedirs(DATA_DIR)
if not os.path.exists(UPLOAD_DIR):
    os.makedirs(UPLOAD_DIR)

# FakeFinder API URL
FF_URL = 'http://api:5000/fakefinder/'


import os

# Local apps directory
APPS_DIR = os.path.dirname(os.path.abspath(__file__))

# Local app directory
REPO_DIR = os.path.split(APPS_DIR)[0]

# Data directory
DATA_DIR = os.path.join(REPO_DIR, 'data')

# Upload directory
UPLOAD_DIR = os.path.join(APPS_DIR, 'uploads')
# Playback url
PLAYBACK_DIR = os.path.join(APPS_DIR, 'playback')

# Static directory local name
STATIC_DIRNAME = 'static'
STATIC_FULLPATH = os.path.join(APPS_DIR, STATIC_DIRNAME)
#STATIC_FULLPATH = os.path.join(os.getcwd(), 'apps', STATIC_DIRNAME)
if not os.path.exists(STATIC_FULLPATH):
    os.makedirs(STATIC_FULLPATH)
if not os.path.exists(DATA_DIR):
    os.makedirs(DATA_DIR)
if not os.path.exists(UPLOAD_DIR):
    os.makedirs(UPLOAD_DIR)

# FakeFinder API URL
FF_URL = 'http://api:5000/fakefinder/'
# Local apps directory # Local app directory # Data directory # Upload directory # Playback url # Static directory local name #STATIC_FULLPATH = os.path.join(os.getcwd(), 'apps', STATIC_DIRNAME) # FakeFinder API URL