mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
client: request folder lists from server
This commit is contained in:
@@ -1 +0,0 @@
|
||||
.vscode
|
||||
@@ -14,6 +14,7 @@ requests = "*"
|
||||
watchdog = "*"
|
||||
progress = "*"
|
||||
pillow = "*"
|
||||
gunicorn = "*"
|
||||
|
||||
[dev-packages]
|
||||
autopep8 = "*"
|
||||
|
||||
Generated
+9
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "99f472c203bd38494cccddd96820194910b1693da8ea6ed6d4b141895ff3002e"
|
||||
"sha256": "ac6887caf42c4ea723d7e1e9fc8a94cb42b2cd815c447eb2afd0f35a73f314e1"
|
||||
},
|
||||
"pipfile-spec": 6,
|
||||
"requires": {
|
||||
@@ -55,6 +55,14 @@
|
||||
"index": "pypi",
|
||||
"version": "==3.0.10"
|
||||
},
|
||||
"gunicorn": {
|
||||
"hashes": [
|
||||
"sha256:9dcc4547dbb1cb284accfb15ab5667a0e5d1881cc443e0677b4882a4067a807e",
|
||||
"sha256:e0a968b5ba15f8a328fdfd7ab1fcb5af4470c28aaf7e55df02a99bc13138e6e8"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==20.1.0"
|
||||
},
|
||||
"idna": {
|
||||
"hashes": [
|
||||
"sha256:84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff",
|
||||
|
||||
@@ -10,8 +10,3 @@ def create_app():
|
||||
app.register_blueprint(api.bp, url_prefix='/')
|
||||
|
||||
return app
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = create_app()
|
||||
app.run(debug=True)
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
from app import create_app
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = create_app()
|
||||
app.run(debug=True, threaded=True, host="127.0.0.1", port=9876)
|
||||
+8
-4
@@ -1,10 +1,14 @@
|
||||
export PORT=8000
|
||||
export music_dir="/home/cwilvx/Music/"
|
||||
|
||||
export FLASK_APP=app
|
||||
export FLASK_DEBUG=1
|
||||
export FLASK_RUN_PORT=8008
|
||||
# export FLASK_APP=app
|
||||
# export FLASK_DEBUG=1
|
||||
# export FLASK_RUN_PORT=8008
|
||||
|
||||
# export music_dirs="['/home/cwilvx/Music/', '/home/cwilvx/FreezerMusic']"
|
||||
|
||||
flask run
|
||||
# flask run
|
||||
|
||||
python manage.py
|
||||
|
||||
# gunicorn -b 0.0.0.0:9876 --workers=4 "wsgi:create_app()" --log-level=debug
|
||||
@@ -0,0 +1,5 @@
|
||||
from app import create_app
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = create_app()
|
||||
app.run(debug=True, threaded=True)
|
||||
Reference in New Issue
Block a user