helloworld

This commit is contained in:
Sophie Schiller 2024-05-19 11:18:06 +02:00
commit 05c07715ad
4 changed files with 22 additions and 0 deletions

9
.envrc Normal file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
if has lorri; then
eval "$(lorri direnv)"
fi
if [[ -f .envrc.local ]]; then
source_env .envrc.local
fi

4
.envrc.local Normal file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
export FLASK_APP="sampleplayer"
export FLASK_ENV="development"

Binary file not shown.

9
sampleplayer.py Normal file
View file

@ -0,0 +1,9 @@
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello():
return '<h1>Hello, World!</h1>'