diff options
author | ubq323 <ubq323> | 2021-05-14 23:33:10 +0000 |
---|---|---|
committer | ubq323 <ubq323> | 2021-05-14 23:33:10 +0000 |
commit | c8681bb17437e316c82f89c792458cda019ba74e (patch) | |
tree | d66b2190ed699aec0bf61c93e06bd151d0474dfc | |
parent | 19be2615c644c128fcf1d0fe7f844e5514315bee (diff) |
boilerplate
-rw-r--r-- | .fossil-settings/ignore-glob | 2 | ||||
-rw-r--r-- | apioforum/__init__.py | 13 | ||||
-rw-r--r-- | requirements.txt | 6 |
3 files changed, 21 insertions, 0 deletions
diff --git a/.fossil-settings/ignore-glob b/.fossil-settings/ignore-glob new file mode 100644 index 0000000..f166c18 --- /dev/null +++ b/.fossil-settings/ignore-glob @@ -0,0 +1,2 @@ +venv/* +*.py[cod] diff --git a/apioforum/__init__.py b/apioforum/__init__.py new file mode 100644 index 0000000..0ea397f --- /dev/null +++ b/apioforum/__init__.py @@ -0,0 +1,13 @@ +# boilerplate boilerplate boilerplate +# yay + +from flask import Flask + +def create_app(): + app = Flask(__name__) + + @app.route("/") + def main(): + return "the" + + return app diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3369a13 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +click==8.0.0 +Flask==2.0.0 +itsdangerous==2.0.0 +Jinja2==3.0.0 +MarkupSafe==2.0.0 +Werkzeug==2.0.0 |