Skip to content

Commit

Permalink
Merge pull request #34 from camelot-dev/add_port
Browse files Browse the repository at this point in the history
[MRG] Add port to app.run
  • Loading branch information
vinayak-mehta authored Dec 27, 2018
2 parents 2e3d7d2 + ecba68c commit eb3c64f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion excalibur/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def webserver(*args, **kwargs):
initialize_database()

app = create_app(conf)
app.run(host=conf.get('webserver', 'web_server_host'), use_reloader=False)
app.run(port=conf.get('webserver', 'web_server_port'),
host=conf.get('webserver', 'web_server_host'),
use_reloader=False)


@cli.command('worker')
Expand Down

0 comments on commit eb3c64f

Please sign in to comment.