boakley / robotframework-hub

Web app for accessing robot framework assets
https://github.com/boakley/robotframework-hub/wiki
Apache License 2.0
170 stars 60 forks source link

Host is not configurable #27

Closed aaltat closed 10 years ago

aaltat commented 10 years ago

By default rfhub starts on localhost and is not served to outside world. It would be real handy that if there would be configuration parameter set the host.

For a workaround I did change the app.py line 36, from self.app.run(port=self.opts.port, debug=self.opts.debug) to self.app.run(host="0.0.0.0", port=self.opts.port, debug=self.opts.debug)

boakley commented 10 years ago

A new option has been added, --interface, which lets you supply which interface(s) it listens on (eg: python -m rfhub --interface 0.0.0.0). That will be available in the next version which will hopefully be ready sometime this week.

On Mon, Aug 11, 2014 at 4:22 AM, Tatu Aalto notifications@github.com wrote:

By default rfhub starts on localhost and is not served to outside world. It would be real handy that if there would be configuration parameter set the host.

For a workaround I did change the app.py line 36, from self.app.run(port=self.opts.port, debug=self.opts.debug) to self.app.run(host="0.0.0.0", port=self.opts.port, debug=self.opts.debug)

— Reply to this email directly or view it on GitHub https://github.com/boakley/robotframework-hub/issues/27.

aaltat commented 10 years ago

The version 0.4 work like a charm and from my point of view, this can be now closed