# http://flask.pocoo.org/
-# FLASK_APP=wrfeed.py FLASK_DEBUG=1 WRFEED_SETTINGS=development.cfg python3 -m flask run -p 5002
-# FLASK_APP=wrfeed.py WRFEED_SETTINGS=production.cfg python3 -m flask run
+# FLASK_APP=wrfeed FLASK_DEBUG=1 WRFEED_SETTINGS=development.cfg python3 -m flask run -p 5002
+# FLASK_APP=wrfeed WRFEED_SETTINGS=production.cfg python3 -m flask run
from sqlalchemy.engine import create_engine
from flask import Flask, send_from_directory, abort, g, jsonify
-from controllers.berichte import create_feed
-
+from wrfeed.berichte import create_feed
app = Flask(__name__)
app.config.from_envvar('WRFEED_SETTINGS')
@app.route("/")
def hello():
- return send_from_directory('public', 'index.html') # actually, this is no template
+ return send_from_directory('templates', 'index.html') # actually, this is no template
@app.route("/berichte/alle")