devops-exercises/challenges/flask_container_ci/app/config.py
2019-12-21 19:50:04 +02:00

12 lines
217 B
Python

#!/usr/bin/env python
# coding=utf-8
import os
basedir = os.path.abspath(os.path.dirname(__file__))
SECRET_KEY = 'shhh'
CSRF_ENABLED = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')