run.py 306 Bytes
Newer Older
kaiyou's avatar
kaiyou committed
1 2 3
from tedimg import app
from flask import send_from_directory

kaiyou's avatar
kaiyou committed
4 5
import os

kaiyou's avatar
kaiyou committed
6
app.config.update(
kaiyou's avatar
kaiyou committed
7
    SITE_NAME="TeDomum Images",
8 9 10 11
    FULL_STORAGE="./tedimg/static/images",
    THUMB_STORAGE="./tedimg/static/images/thumb",
    FULL_WEB="static/images",
    THUMB_WEB="static/images/thumb"
kaiyou's avatar
kaiyou committed
12 13 14
)

app.run(debug=True)