Commit 02750ff3 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

moving settings and wsgi files

parent 70dcd853
*.swp *.swp
*~ *~
*.pyc *.pyc
config/settings/secret.py
config/settings/local.py
docs/user_docs/build/* docs/user_docs/build/*
docs/admin_docs/build/* docs/admin_docs/build/*
settings/secret.py
settings/local.py
static-collected static-collected
static/admin/ static/admin/
static/rest_framework/ static/rest_framework/
......
import os import os
import sys import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' os.environ['DJANGO_SETTINGS_MODULE'] = 'config.settings'
# Add the source code directory # Add the source code directory
sys.path.append('/home/gracedb/gracedb') sys.path.append('/home/gracedb/gracedb')
......
#!/usr/bin/env python #! /usr/bin/env python
import os, sys import os, sys
if __name__ == "__main__": if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings")
from django.core.management import execute_from_command_line from django.core.management import execute_from_command_line
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment