diff --git a/.gitignore b/.gitignore index 03f1f9b..36ac74d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ __pycache__/ .env .vscode -.db/ \ No newline at end of file +.db/ +instance/ \ No newline at end of file diff --git a/config.py b/config.py index 28bd0af..409df2f 100644 --- a/config.py +++ b/config.py @@ -8,8 +8,7 @@ class Config(object): SQLALCHEMY_TRACK_MODIFICATIONS = False class LocalConfig(Config): - basedir = os.path.abspath(os.path.dirname(__file__)) - SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir,'.db', 'local.db') + SQLALCHEMY_DATABASE_URI = 'sqlite:///local.db' DEBUG = True class GithubCIConfig(Config):