Fixing scripts' headers to make them executable
Change-Id: I81fd61419523eecaa3926e02cfe5aac843a5a07a
This commit is contained in:
parent
50bebda734
commit
a4379bc139
@ -21,4 +21,4 @@ Open *etc/mistral.conf* file and fix configuration properties as needed. For exa
|
|||||||
### Running Mistral API server
|
### Running Mistral API server
|
||||||
To run Mistral API server perform the following commands in a shell:
|
To run Mistral API server perform the following commands in a shell:
|
||||||
|
|
||||||
*tox -epy27 -- /mistral/cmd/api.py --config-file etc/mistral.conf*
|
*tox -evenv -- mistral/cmd/api.py --config-file etc/mistral.conf*
|
@ -17,7 +17,7 @@
|
|||||||
app = {
|
app = {
|
||||||
'root': 'mistral.api.controllers.root.RootController',
|
'root': 'mistral.api.controllers.root.RootController',
|
||||||
'modules': ['mistral.api'],
|
'modules': ['mistral.api'],
|
||||||
'debug': True,
|
'debug': False,
|
||||||
'auth_enable': True
|
'auth_enable': True
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
mistral/cmd/api.py
Normal file → Executable file
1
mistral/cmd/api.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright 2013 - Mirantis, Inc.
|
# Copyright 2013 - Mirantis, Inc.
|
||||||
|
1
mistral/cmd/task_executor.py
Normal file → Executable file
1
mistral/cmd/task_executor.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright 2013 - Mirantis, Inc.
|
# Copyright 2013 - Mirantis, Inc.
|
||||||
|
2
scripts/convey_task_result.py
Normal file → Executable file
2
scripts/convey_task_result.py
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from mistralclient.api import client as cl
|
from mistralclient.api import client as cl
|
||||||
|
|
||||||
|
2
scripts/upload_workbook_and_run.py
Normal file → Executable file
2
scripts/upload_workbook_and_run.py
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from mistralclient.api import client as cl
|
from mistralclient.api import client as cl
|
||||||
|
|
||||||
client = cl.Client(project_name="mistral",
|
client = cl.Client(project_name="mistral",
|
||||||
|
Loading…
Reference in New Issue
Block a user