Setup micro-service of multivim broker
[multicloud/framework.git] / multivimbroker / manage.py
1 # Copyright (c) 2017 Wind River Systems, Inc.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at:
6 #       http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
12 import os
13 import sys
14
15 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "multivimbroker.settings")
16
17 if __name__ == "__main__":
18     from django.core.management import execute_from_command_line
19     execute_from_command_line(sys.argv)