Add minimal flask server

dev
Alfred Melch 5 years ago
parent 4b79c6c8a4
commit aee29baad0

4
.gitignore vendored

@ -1,3 +1,5 @@
.vscode/
build/
node_modules/
node_modules/
venv/
*.pyc

@ -0,0 +1,2 @@
FLASK_APP=ebermergen
FLASK_ENV=development

@ -0,0 +1,9 @@
venv:
python3 -m venv venv
./venv/bin/pip install -U pip wheel setuptools
install:
./venv/bin/pip install -r requirements.txt
run:
./venv/bin/flask run --host 0.0.0.0

@ -0,0 +1,8 @@
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return 'Hello World'

@ -0,0 +1,2 @@
flask==1.1.1
python-dotenv==0.10.3
Loading…
Cancel
Save