瀏覽代碼

Add a test conf file

Colin Powell 2 年之前
父節點
當前提交
39547c6e5c
共有 2 個文件被更改,包括 10 次插入2 次删除
  1. 2 2
      .drone.yml
  2. 8 0
      vrobbler.conf.test

+ 2 - 2
.drone.yml

@@ -12,7 +12,7 @@ steps:
     image: python:3.10.4
     commands:
       # Install dependencies
-      - cp vrobbler.conf.example vrobbler.conf
+      - cp vrobbler.conf.test vrobbler.conf
       - pip install poetry
       - poetry install
       # Start with a fresh database (which is already running as a service from Drone)
@@ -27,7 +27,7 @@ steps:
     image: python:3.10.4
     commands:
       # Install dependencies
-      - cp vrobbler.conf.example vrobbler.conf
+      - cp vrobbler.conf.test vrobbler.conf
       - pip install poetry
       - poetry install
       # Start with a fresh database (which is already running as a service from Drone)

+ 8 - 0
vrobbler.conf.test

@@ -0,0 +1,8 @@
+# Local configuration for Emus
+
+VROBBLER_DUMP_REQUEST_DATA=True
+VROBBLER_LOG_TO_CONSOLE=True
+VROBBLER_DEBUG=True
+VROBBLER_LOG_LEVEL="DEBUG"
+VROBBLER_MEDIA_ROOT = "/tmp/media/"
+VROBBLER_KEEP_DETAILED_SCROBBLE_LOGS=True