annot-server/webapp/__init__.py
author rougeronj
Thu, 22 Jan 2015 11:16:20 +0100
changeset 117 c0034b35c44e
parent 108 082b64a5c699
permissions -rw-r--r--
merge + gulp + correction of superposition category-text

#
# See LICENCE for detail
# Copyright (c) 2014 IRI
#

import uuid
import json


from flask import Flask
from flask.ext.cors import CORS

import config
import database

app = Flask(__name__)
app.secret_key = str(uuid.uuid4())
app.debug = config.DEBUG
app.config.from_object(config)
CORS(app)

import webapp.views
import webapp.api
import webapp.admin