5 if __name__ == "__main__":
6 # Making sure we can import each app
7 PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
8 sys.path.append(os.path.join(PROJECT_ROOT, 'karmaworld/apps'))
10 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "karmaworld.settings.prod")
12 from django.core.management import execute_from_command_line
14 execute_from_command_line(sys.argv)