aboutsummaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-07 21:03:11 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-07 21:03:11 +0100
commit2e21f37eaf031300b4f7ec0626333255f16e7bd0 (patch)
tree420922015307fde6156345a942f383313f7df180 /main.py
parent2947010fe6fe3d54019164f9d8213a2fede55a45 (diff)
big update! got working on gcloud and with log and new navbar
Diffstat (limited to '')
-rw-r--r--main.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.py b/main.py
new file mode 100644
index 0000000..6f2ca31
--- /dev/null
+++ b/main.py
@@ -0,0 +1,10 @@
+from config.wsgi import application
+
+# App Engine by default looks for a main.py file at the root of the app
+# directory with a WSGI-compatible object called app.
+# This file imports the WSGI-compatible object of your Django app,
+# application from mysite/wsgi.py and renames it app so it is discoverable by
+# App Engine without additional configuration.
+# Alternatively, you can add a custom entrypoint field in your app.yaml:
+# entrypoint: gunicorn -b :$PORT mysite.wsgi
+app = application