Move database and config to /data

This commit is contained in:
2019-05-31 03:52:37 +02:00
parent 548b15340b
commit e51b6ade9a
3 changed files with 9 additions and 2 deletions

View File

@ -78,6 +78,7 @@ def admin():
@app.before_first_request
def activate_job():
helpers.create_data_directory()
database.create_entry_table()
database.create_song_table()
database.create_list_view()