blob: a76a63fb9da476f9c61ba63e55932e2b896c5d40 [file] [log] [blame]
#!/usr/bin/env python
import os
import sys
from plstackapi.planetstack.config import Config
if __name__ == '__main__':
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "plstackapi.planetstack.settings")
from django.core.management import ManagementUtility
config = Config()
url = "%s:%s" % (config.nova_api_host, config.nova_api_port)
args = [__file__, 'runserver', url]
server = ManagementUtility(args)
server.execute()