File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ from qiita_db.exceptions import QiitaDBConnectionError
27
27
from qiita_core .configuration_manager import ConfigurationManager
28
28
from qiita_ware .commands import ebi_actions , submit_EBI as _submit_EBI
29
29
from qiita_ware import r_server
30
- from qiita_pet .webserver import Application
31
30
32
31
33
32
_CONFIG = ConfigurationManager ()
@@ -60,6 +59,7 @@ def ebi():
60
59
def maintenance ():
61
60
pass
62
61
62
+
63
63
@qiita .group ()
64
64
def webserver ():
65
65
pass
@@ -259,6 +259,12 @@ def status():
259
259
@click .option ('--port' , required = False , type = int , help = 'Port where the '
260
260
'webserver will start' , default = 8888 )
261
261
def start (port ):
262
+ # in order to use this command you need to have an IPython cluster running,
263
+ # for now this makes it so that you can use other sub-commands without
264
+ # having to do that. The solution will (perhaps) to move this subcommand
265
+ # into an entirely different script.
266
+ from qiita_pet .webserver import Application
267
+
262
268
http_server = tornado .httpserver .HTTPServer (Application ())
263
269
http_server .listen (port )
264
270
print ("Qiita started on port" , port )
You can’t perform that action at this time.
0 commit comments