annot-server/webapp/__init__.py
author rougeronj
Fri, 10 Apr 2015 16:45:34 +0200
changeset 145 a8052f8ab19c
parent 108 082b64a5c699
permissions -rw-r--r--
add range options to scale the scene depending on this range. Add rescale function to rescale the scene when a note is out of this range

#
# 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