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",
|
"preLaunchTask": "versiondump",
|
||||||
"name": "Python: Flask",
|
"name": "Python: Flask",
|
||||||
"type": "python",
|
"type": "python",
|
||||||
"cwd": "${workspaceFolder}/backend/app",
|
"cwd": "${workspaceFolder}/backend",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"module": "flask",
|
"module": "flask",
|
||||||
"env": {
|
"env": {
|
||||||
"FLASK_APP": "backend/app/main.py",
|
"FLASK_APP": "backend/main.py",
|
||||||
"FLASK_ENV": "development",
|
"FLASK_ENV": "development",
|
||||||
"FLASK_DEBUG": "1"
|
"FLASK_DEBUG": "1"
|
||||||
},
|
},
|
||||||
@@ -27,11 +27,11 @@
|
|||||||
"preLaunchTask": "versiondump",
|
"preLaunchTask": "versiondump",
|
||||||
"name": "Python: Flask (with reload)",
|
"name": "Python: Flask (with reload)",
|
||||||
"type": "python",
|
"type": "python",
|
||||||
"cwd": "${workspaceFolder}/backend/app",
|
"cwd": "${workspaceFolder}/backend",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"module": "flask",
|
"module": "flask",
|
||||||
"env": {
|
"env": {
|
||||||
"FLASK_APP": "backend/app/main.py",
|
"FLASK_APP": "backend/main.py",
|
||||||
"FLASK_ENV": "development",
|
"FLASK_ENV": "development",
|
||||||
"FLASK_DEBUG": "1"
|
"FLASK_DEBUG": "1"
|
||||||
},
|
},
|
||||||
@@ -45,11 +45,11 @@
|
|||||||
"preLaunchTask": "versiondump",
|
"preLaunchTask": "versiondump",
|
||||||
"name": "Python: Flask (with reload, externally reachable)",
|
"name": "Python: Flask (with reload, externally reachable)",
|
||||||
"type": "python",
|
"type": "python",
|
||||||
"cwd": "${workspaceFolder}/backend/app",
|
"cwd": "${workspaceFolder}/backend",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"module": "flask",
|
"module": "flask",
|
||||||
"env": {
|
"env": {
|
||||||
"FLASK_APP": "backend/app/main.py",
|
"FLASK_APP": "backend/main.py",
|
||||||
"FLASK_ENV": "development",
|
"FLASK_ENV": "development",
|
||||||
"FLASK_DEBUG": "1"
|
"FLASK_DEBUG": "1"
|
||||||
},
|
},
|
||||||
@@ -64,11 +64,11 @@
|
|||||||
"preLaunchTask": "versiondump",
|
"preLaunchTask": "versiondump",
|
||||||
"name": "Python: Flask (externally reachable)",
|
"name": "Python: Flask (externally reachable)",
|
||||||
"type": "python",
|
"type": "python",
|
||||||
"cwd": "${workspaceFolder}/backend/app",
|
"cwd": "${workspaceFolder}/backend",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"module": "flask",
|
"module": "flask",
|
||||||
"env": {
|
"env": {
|
||||||
"FLASK_APP": "backend/app/main.py",
|
"FLASK_APP": "backend/main.py",
|
||||||
"FLASK_ENV": "development",
|
"FLASK_ENV": "development",
|
||||||
"FLASK_DEBUG": "1"
|
"FLASK_DEBUG": "1"
|
||||||
},
|
},
|
||||||
|
|||||||
Vendored
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"label": "versiondump",
|
"label": "versiondump",
|
||||||
"type": "shell",
|
"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": []
|
"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
|
import json
|
||||||
from flask_basicauth import BasicAuth
|
from flask_basicauth import BasicAuth
|
||||||
from helpers import nocache
|
from helpers import nocache
|
||||||
app = Flask(__name__, static_url_path='/static')
|
app = Flask("backend", static_url_path='/static')
|
||||||
|
|
||||||
basic_auth = BasicAuth(app)
|
basic_auth = BasicAuth(app)
|
||||||
accept_entries = False
|
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