PageRenderTime 30ms CodeModel.GetById 0ms RepoModel.GetById 1ms app.codeStats 0ms

/demisauce/demisauce/__init__.py

https://github.com/araddon/demisauce
Python | 23 lines | 18 code | 4 blank | 1 comment | 0 complexity | f5b01ba039c1e07306d0ff98e2934202 MD5 | raw file
  1. #!/usr/bin/env python
  2. import tornado.options
  3. from tornado.options import define, options
  4. import demisaucepy.options
  5. __version__ = '0.1.1'
  6. define("demisauce_secret",help="Secret for hashing",default="tbd")
  7. define("facebook_api_key", help="your Facebook application API key",
  8. default="1c9724431c6a5ebb2167b87862373776")
  9. define("facebook_secret", help="your Facebook application secret",
  10. default="13c61611ccac41a95cbfe9a940b0afbd")
  11. define("twitter_consumer_key", help="your Twitter application API key",
  12. default="7xjPzAjqtH5QqitEicaFqQ")
  13. define("twitter_consumer_secret", help="your Twitter application secret",
  14. default="g9Wg0fDCcFN4IGtJ8PB9TYq5RiRMEPSfqZ3MkcPPl9Y")
  15. define("base_url", default="http://localhost:4950", help="base fq url, no trailing slash to site")
  16. define("debug",default=True,help="run in debug mode or not, if so auto-reloads",type=bool)
  17. define("port", default=4950, help="run on the given port", type=int)
  18. define("sqlalchemy_default_url", default=("mysql://root:demisauce@192.168.1.7/demisauce"))
  19. define("sqlalchemy_default_echo", default=True, type=bool,help="run in echo mode")