From 942a49306482053b9ecfbe0d7078685aa38e2d88 Mon Sep 17 00:00:00 2001 From: Rushil Umaretiya Date: Thu, 15 Sep 2022 00:28:10 -0400 Subject: [PATCH] initial commit --- hunt/.README.md.un~ | Bin 0 -> 544 bytes Pipfile => hunt/Pipfile | 0 Pipfile.lock => hunt/Pipfile.lock | 0 hunt/README.md | 2 + README.md => hunt/README.md~ | 0 manage.py => hunt/manage.py | 0 run.sh | 7 ++ waiting/app.py | 9 ++ waiting/templates/index.html | 158 ++++++++++++++++++++++++++++++ 9 files changed, 176 insertions(+) create mode 100644 hunt/.README.md.un~ rename Pipfile => hunt/Pipfile (100%) rename Pipfile.lock => hunt/Pipfile.lock (100%) create mode 100644 hunt/README.md rename README.md => hunt/README.md~ (100%) rename manage.py => hunt/manage.py (100%) mode change 100755 => 100644 create mode 100644 run.sh create mode 100644 waiting/app.py create mode 100644 waiting/templates/index.html diff --git a/hunt/.README.md.un~ b/hunt/.README.md.un~ new file mode 100644 index 0000000000000000000000000000000000000000..62a467f9552cdaee2562c0db203f0830934b1087 GIT binary patch literal 544 zcmWH`%$*;a=aT=FfoZ1q@k17=St~vTZ|s;dXNKeH%9p1WpXio|ar;oaEM;X40|NsS z5W|2dkiiJWATbylL^C8Stvt&D5sAM551LGXmFOB77#W&2K3@d@XnrZU literal 0 HcmV?d00001 diff --git a/Pipfile b/hunt/Pipfile similarity index 100% rename from Pipfile rename to hunt/Pipfile diff --git a/Pipfile.lock b/hunt/Pipfile.lock similarity index 100% rename from Pipfile.lock rename to hunt/Pipfile.lock diff --git a/hunt/README.md b/hunt/README.md new file mode 100644 index 0000000..6dd502a --- /dev/null +++ b/hunt/README.md @@ -0,0 +1,2 @@ +# scavenger-hunt-2022 +"now in color!" diff --git a/README.md b/hunt/README.md~ similarity index 100% rename from README.md rename to hunt/README.md~ diff --git a/manage.py b/hunt/manage.py old mode 100755 new mode 100644 similarity index 100% rename from manage.py rename to hunt/manage.py diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..db53f0e --- /dev/null +++ b/run.sh @@ -0,0 +1,7 @@ +source /root/.local/share/virtualenvs/public-RqHYzL15/bin/activate + +gunicorn hunt.wsgi -b $HOST:$PORT -w 1 + +# source /site/public/venv/bin/activate + +# gunicorn app:app -b $HOST:$PORT -w 1 \ No newline at end of file diff --git a/waiting/app.py b/waiting/app.py new file mode 100644 index 0000000..4de47b0 --- /dev/null +++ b/waiting/app.py @@ -0,0 +1,9 @@ +from flask import Flask, render_template +app = Flask(__name__) + +@app.route('/') +def home(): + return render_template('index.html') + +if __name__ == '__main__': + app.run() \ No newline at end of file diff --git a/waiting/templates/index.html b/waiting/templates/index.html new file mode 100644 index 0000000..afd253c --- /dev/null +++ b/waiting/templates/index.html @@ -0,0 +1,158 @@ + + Scavenger Hunt + + +
+
+
    +
  • days
  • +
  • Hours
  • +
  • Minutes
  • +
  • Seconds
  • +
+
+
+ 🥳 + 🎉 + 🎂 +
+
+ + + \ No newline at end of file