annot-server/webapp/__init__.py
author rougeronj
Mon, 13 Apr 2015 17:11:47 +0200
changeset 146 192d7d7f7bb4
parent 108 082b64a5c699
permissions -rw-r--r--
Add dynamicRange option. Adapt rescaleScene to be able to increase the scale (new note is added) or decrease the scale (a note is deleted).

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