store firmwares and add firmware api stub

This commit is contained in:
Laura Klünder 2023-11-05 18:47:20 +01:00
parent a48a3914d3
commit 9e9e41fb3f
5 changed files with 257 additions and 7 deletions

View file

@ -43,6 +43,8 @@ TILES_ROOT = os.path.join(DATA_DIR, 'tiles')
CACHE_ROOT = os.path.join(DATA_DIR, 'cache')
STATS_ROOT = os.path.join(DATA_DIR, 'stats')
MEDIA_URL = '/media/'
if not os.path.exists(DATA_DIR):
os.mkdir(DATA_DIR)
if not os.path.exists(LOG_DIR):