sstreeter

# Dec 08 2011 - 6:12 AM

Hello,
Thanks so much for an impressive app! I'm looking to start a kegbot project and I'm running into an issue starting up kegbot_core.py.

Here's the trace:
$ python kegbot_core.py
2011-12-08 06:09:54,362 INFO (main) Kegbot is starting up.
2011-12-08 06:09:54,364 INFO (env) Using web backend: http://localhost:8000/
api/
2011-12-08 06:09:54,367 INFO (main) Querying backend liveness.
2011-12-08 06:09:56,381 ERROR (main) Kegbot API backend returned a server err
or: URL Error, reason: [Errno 1] Operation not permitted
2011-12-08 06:09:56,383 ERROR (main) Is --api_url correct? (current=http/lo
calhost:8000/api/)

I don't have a server running yet, I was depending on Django to provide that. Is there any way to turn the api functionality off until I'm ready for it?

Thanks!
Sara




Jallen81

# Dec 08 2011 - 8:12 AM

Michigan

Hi,

Perhaps I can lend a hand. Try running this command first before starting the core:
kegbot-admin.py runserver 0.0.0.0:8000


That should start the Django server for you and make the api available.


Edited by Jallen81 (Dec. 8, 2011 21:15:33)






sstreeter

# Dec 08 2011 - 8:12 AM

Nice! Yep that did it. Thank you!