helloworld
This commit is contained in:
commit
05c07715ad
4 changed files with 22 additions and 0 deletions
9
.envrc
Normal file
9
.envrc
Normal 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
4
.envrc.local
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
export FLASK_APP="sampleplayer"
|
||||
export FLASK_ENV="development"
|
BIN
__pycache__/sampleplayer.cpython-310.pyc
Normal file
BIN
__pycache__/sampleplayer.cpython-310.pyc
Normal file
Binary file not shown.
9
sampleplayer.py
Normal file
9
sampleplayer.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
@app.route('/')
|
||||
def hello():
|
||||
return '<h1>Hello, World!</h1>'
|
||||
|
Loading…
Reference in a new issue