commit 05c07715ad9a5fbe98daff3112f170c479b58306 Author: Sophie Schiller Date: Sun May 19 11:18:06 2024 +0200 helloworld diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..f56cdb7 --- /dev/null +++ b/.envrc @@ -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 diff --git a/.envrc.local b/.envrc.local new file mode 100644 index 0000000..2400714 --- /dev/null +++ b/.envrc.local @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +export FLASK_APP="sampleplayer" +export FLASK_ENV="development" diff --git a/__pycache__/sampleplayer.cpython-310.pyc b/__pycache__/sampleplayer.cpython-310.pyc new file mode 100644 index 0000000..f500f8b Binary files /dev/null and b/__pycache__/sampleplayer.cpython-310.pyc differ diff --git a/sampleplayer.py b/sampleplayer.py new file mode 100644 index 0000000..5eb19c4 --- /dev/null +++ b/sampleplayer.py @@ -0,0 +1,9 @@ +from flask import Flask + +app = Flask(__name__) + + +@app.route('/') +def hello(): + return '

Hello, World!

' +