From 74d7afed01745ce316180c6122ef51d9554b2f01 Mon Sep 17 00:00:00 2001 From: Obi Uchenna David Date: Sun, 12 Nov 2017 14:13:02 +0100 Subject: [PATCH] celery setup --- dump.rdb | Bin 0 -> 411 bytes manage.py | 22 ++++++++++++++++++++++ poorlydrawn/__init__.py | 1 + poorlydrawn/celerybeat-schedule.db | Bin 12288 -> 0 bytes poorlydrawn/config/settings.py | 2 +- 5 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 dump.rdb create mode 100644 manage.py create mode 100644 poorlydrawn/__init__.py delete mode 100644 poorlydrawn/celerybeat-schedule.db diff --git a/dump.rdb b/dump.rdb new file mode 100644 index 0000000000000000000000000000000000000000..e4d6ce9ad13448fa8d4cbff1da240c1e0e4e418f GIT binary patch literal 411 zcmZvXyH3ME5JlG!3E?GZ5*j3sprBdHUfaoTmjWbcp`!`AJF{RC$I;pjLDcko1vQ@# zh(t=0YDS}TkLF&So}6ELp2y2Iix6jYgti*Gp6i$EvxAEBY|<&KI*${a zzMR#s%6gF@&;*m|f!-$Nrc4bTT9k?ExNEodY`Vys7 zA!ib_(Hx-M_)nz9WSCFLH~Cy~zC>{S+I0vaTg5=?9zr)MavUFpBH%%bAr&4P8b+E? z!Ih#60-;)MW`y9CMz@zHs&G|2fOv4@YV4zZaCT<1)~q#WTV;1Ch$Bbbr?!XIJzT&z zazhz`27}ZDT+xs*Mx|&g>YL!Nr18;sP}y7RbcZphbnNUegq<|MwTScY=D^R}qj`G2 H`*{8Z_+^aQ literal 0 HcmV?d00001 diff --git a/manage.py b/manage.py new file mode 100644 index 0000000..f563f8b --- /dev/null +++ b/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +import os +import sys + +if __name__ == "__main__": + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "poorlydrawn.config.settings") + try: + from django.core.management import execute_from_command_line + except ImportError: + # The above import may fail for some other reason. Ensure that the + # issue is really that Django is missing to avoid masking other + # exceptions on Python 2. + try: + import django + except ImportError: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) + raise + execute_from_command_line(sys.argv) diff --git a/poorlydrawn/__init__.py b/poorlydrawn/__init__.py new file mode 100644 index 0000000..d085c3a --- /dev/null +++ b/poorlydrawn/__init__.py @@ -0,0 +1 @@ +from .config import * \ No newline at end of file diff --git a/poorlydrawn/celerybeat-schedule.db b/poorlydrawn/celerybeat-schedule.db deleted file mode 100644 index 9579a86eebd0b6b72a3048a3236939a771e94576..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI%u}T9$5P;!1gA&28Y0NVS!o@&dz$%RokjmwZs~&_4xjQX{fTfL{Wu73758zWM z*jc6zh!5aQ4nbp+M$-HXyF1J*d&k!;BO(&%w2|!Z$gTxVoplRDwyN#d+Us|uruEk2 zV)}7dmF$l1dk!?-*7@>qb^0@3on%D-0R#|0009ILKmY**5I_KdO$e;M(d#mE()e_9 z_wL@@t9y1&PBRPy5I_I{1Q0*~0R#|0009IL_;-Qmu67?s*X6*6EIAv7b4~R3^s~no zc{)hiC&}fg7)u