Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 93ff6d9

Browse files
primeiro dev da ferramenta
1 parent c2c57b6 commit 93ff6d9

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
"""
2+
Queue Manager
3+
Version: 1.0.0
4+
"""
5+
from flask import Flask
6+
7+
APP = Flask(__name__)
8+
9+
@APP.route('/')
10+
def index():
11+
return "<html><head></head><body>Queue Manager</body></html>"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
PORT=5001
2+
echo "app port: $PORT"
3+
export FLASK_ENV=development
4+
export FLASK_APP=./scripts/queue-manager/queue-manager.py
5+
# export FLASK_DEBUG=1
6+
# flask run $1 $2
7+
flask run --host=0.0.0.0 --port=$PORT

0 commit comments

Comments
 (0)