From 05c07715ad9a5fbe98daff3112f170c479b58306 Mon Sep 17 00:00:00 2001 From: Sophie Schiller Date: Sun, 19 May 2024 11:18:06 +0200 Subject: [PATCH] helloworld --- .envrc | 9 +++++++++ .envrc.local | 4 ++++ __pycache__/sampleplayer.cpython-310.pyc | Bin 0 -> 347 bytes sampleplayer.py | 9 +++++++++ 4 files changed, 22 insertions(+) create mode 100644 .envrc create mode 100644 .envrc.local create mode 100644 __pycache__/sampleplayer.cpython-310.pyc create mode 100644 sampleplayer.py 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 0000000000000000000000000000000000000000..f500f8bbee76cd00ff45279f9063178531d7c9d5 GIT binary patch literal 347 zcmY*UF-`+95cJyT(+LquYA6pO4E-rWLPF4_p@@{`bc#1zgdJNp5eh9l1WH~&%{Saq z@r6{ZLy<7jj(0}0UfT@@dyMe;bvt{a^E-=O2ojf6@q|b-4Tf2m05AmPFE9}(-U`j% zK?_~HGIFGrcdRadD9>t0^4fIqVGU}Uja>kVE2>x!X`mrKdOmFWi{T9#<4%vpE*O2> zC~`hn$f+%@&sFa%s_1+_M>TbNzPMMhv)-UL-3r4$apqS^_W9Z}Z{$P;54j)JWsG9KbJl6G~D5 literal 0 HcmV?d00001 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!

' +