mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2026-10-25 02:17:53 +01:00
Refactor for heroku
This commit is contained in:
20 files changed
+11
-10
No files matched your search
Vendored
+8
-8
@@ -8,11 +8,11 @@
|
||||
"preLaunchTask": "versiondump",
|
||||
"name": "Python: Flask",
|
||||
"type": "python",
|
||||
"cwd": "${workspaceFolder}/backend/app",
|
||||
"cwd": "${workspaceFolder}/backend",
|
||||
"request": "launch",
|
||||
"module": "flask",
|
||||
"env": {
|
||||
"FLASK_APP": "backend/app/main.py",
|
||||
"FLASK_APP": "backend/main.py",
|
||||
"FLASK_ENV": "development",
|
||||
"FLASK_DEBUG": "1"
|
||||
},
|
||||
@@ -27,11 +27,11 @@
|
||||
"preLaunchTask": "versiondump",
|
||||
"name": "Python: Flask (with reload)",
|
||||
"type": "python",
|
||||
"cwd": "${workspaceFolder}/backend/app",
|
||||
"cwd": "${workspaceFolder}/backend",
|
||||
"request": "launch",
|
||||
"module": "flask",
|
||||
"env": {
|
||||
"FLASK_APP": "backend/app/main.py",
|
||||
"FLASK_APP": "backend/main.py",
|
||||
"FLASK_ENV": "development",
|
||||
"FLASK_DEBUG": "1"
|
||||
},
|
||||
@@ -45,11 +45,11 @@
|
||||
"preLaunchTask": "versiondump",
|
||||
"name": "Python: Flask (with reload, externally reachable)",
|
||||
"type": "python",
|
||||
"cwd": "${workspaceFolder}/backend/app",
|
||||
"cwd": "${workspaceFolder}/backend",
|
||||
"request": "launch",
|
||||
"module": "flask",
|
||||
"env": {
|
||||
"FLASK_APP": "backend/app/main.py",
|
||||
"FLASK_APP": "backend/main.py",
|
||||
"FLASK_ENV": "development",
|
||||
"FLASK_DEBUG": "1"
|
||||
},
|
||||
@@ -64,11 +64,11 @@
|
||||
"preLaunchTask": "versiondump",
|
||||
"name": "Python: Flask (externally reachable)",
|
||||
"type": "python",
|
||||
"cwd": "${workspaceFolder}/backend/app",
|
||||
"cwd": "${workspaceFolder}/backend",
|
||||
"request": "launch",
|
||||
"module": "flask",
|
||||
"env": {
|
||||
"FLASK_APP": "backend/app/main.py",
|
||||
"FLASK_APP": "backend/main.py",
|
||||
"FLASK_ENV": "development",
|
||||
"FLASK_DEBUG": "1"
|
||||
},
|
||||
|
||||
Vendored
+1
-1
@@ -6,7 +6,7 @@
|
||||
{
|
||||
"label": "versiondump",
|
||||
"type": "shell",
|
||||
"command": "echo \"$(git rev-parse --abbrev-ref HEAD)-$(git describe)\"> ${workspaceFolder}/backend/app/.version",
|
||||
"command": "echo \"$(git rev-parse --abbrev-ref HEAD)-$(git describe)\"> ${workspaceFolder}/backend/.version",
|
||||
"problemMatcher": []
|
||||
}
|
||||
]
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -6,7 +6,7 @@ import os
|
||||
import json
|
||||
from flask_basicauth import BasicAuth
|
||||
from helpers import nocache
|
||||
app = Flask(__name__, static_url_path='/static')
|
||||
app = Flask("backend", static_url_path='/static')
|
||||
|
||||
basic_auth = BasicAuth(app)
|
||||
accept_entries = False
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user