Add: basic flask app index

main
rkcf 2023-07-07 17:41:33 -05:00
parent 4015e2a77f
commit c705d835d3
4 changed files with 27 additions and 2 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
test.blend test.blend
__pycache__/

View File

@ -5,6 +5,7 @@ name = "pypi"
[packages] [packages]
flask = "*" flask = "*"
importmagic = "*"
[dev-packages] [dev-packages]

17
Pipfile.lock generated
View File

@ -1,7 +1,7 @@
{ {
"_meta": { "_meta": {
"hash": { "hash": {
"sha256": "60364d8fec40062cefddf8fc7df3eb90e861b5d9e9b7faf7d5782480799581c9" "sha256": "a5e94ca04350c773afd7c5b741c8b4442e56b9242f2392e40d8db32c6fcd0aef"
}, },
"pipfile-spec": 6, "pipfile-spec": 6,
"requires": { "requires": {
@ -40,6 +40,13 @@
"index": "pypi", "index": "pypi",
"version": "==2.3.2" "version": "==2.3.2"
}, },
"importmagic": {
"hashes": [
"sha256:3f7757a5b74c9a291e20e12023bb3bf71bc2fa3adfb15a08570648ab83eaf8d8"
],
"index": "pypi",
"version": "==0.1.7"
},
"itsdangerous": { "itsdangerous": {
"hashes": [ "hashes": [
"sha256:2c2349112351b88699d8d4b6b075022c0808887cb7ad10069318a8b0bc88db44", "sha256:2c2349112351b88699d8d4b6b075022c0808887cb7ad10069318a8b0bc88db44",
@ -112,6 +119,14 @@
"markers": "python_version >= '3.7'", "markers": "python_version >= '3.7'",
"version": "==2.1.3" "version": "==2.1.3"
}, },
"setuptools": {
"hashes": [
"sha256:11e52c67415a381d10d6b462ced9cfb97066179f0e871399e006c4ab101fc85f",
"sha256:baf1fdb41c6da4cd2eae722e135500da913332ab3f2f5c7d33af9b492acb5235"
],
"markers": "python_version >= '3.7'",
"version": "==68.0.0"
},
"werkzeug": { "werkzeug": {
"hashes": [ "hashes": [
"sha256:935539fa1413afbb9195b24880778422ed620c0fc09670945185cce4d91a8890", "sha256:935539fa1413afbb9195b24880778422ed620c0fc09670945185cce4d91a8890",

8
web/blenda-renda.py Normal file
View File

@ -0,0 +1,8 @@
from flask import Flask
app = Flask(__name__)
@app.route("/")
def index():
return "<h1>Blenda Renda</h1>"