.env.example 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. # ==== Required configuration settings for Huginn ====
  2. # Replace the following with the output from "rake secret"
  3. APP_SECRET_TOKEN=REPLACE_ME_NOW!
  4. # This is the domain where your Huginn instance will be running. The default should work
  5. # for development, but it needs to be changed to your Huginn domain when you deploy to a
  6. # production environment (e.g., yourdomain.com, possibly including a port).
  7. DOMAIN=localhost:3000
  8. # Optionally set an asset host
  9. # ASSET_HOST=http://assets.example.com
  10. ############################
  11. # Database Setup #
  12. ############################
  13. DATABASE_ADAPTER=mysql2
  14. DATABASE_ENCODING=utf8
  15. DATABASE_RECONNECT=true
  16. DATABASE_NAME=huginn_development
  17. DATABASE_POOL=5
  18. DATABASE_USERNAME=root
  19. DATABASE_PASSWORD=""
  20. #DATABASE_HOST=your-domain-here.com
  21. #DATABASE_PORT=3306
  22. #DATABASE_SOCKET=/tmp/mysql.sock
  23. # ==== Additional required production settings ====
  24. # Configure Rails environment. This should only be needed in production and may cause errors in development.
  25. # RAILS_ENV=production
  26. # Should Rails force all requests to use SSL?
  27. FORCE_SSL=false
  28. ############################
  29. # Allowing Signups #
  30. ############################
  31. # This invitation code will be required for users to signup with your Huginn installation.
  32. # You can see its use in user.rb. PLEASE CHANGE THIS!
  33. INVITATION_CODE=try-huginn
  34. #############################
  35. # Email Configuration #
  36. #############################
  37. # Outgoing email settings. To use Gmail or Google Apps, put your Google Apps domain or gmail.com
  38. # as the SMTP_DOMAIN and your Gmail username and password as the SMTP_USER_NAME and SMTP_PASSWORD.
  39. #
  40. # PLEASE NOTE: In order to enable emails locally (e.g., when not in the production Rails environment),
  41. # you must also change config.action_mailer.perform_deliveries in config/environments/development.rb.
  42. SMTP_DOMAIN=your-domain-here.com
  43. SMTP_USER_NAME=you@gmail.com
  44. SMTP_PASSWORD=somepassword
  45. SMTP_SERVER=smtp.gmail.com
  46. SMTP_PORT=587
  47. SMTP_AUTHENTICATION=plain
  48. SMTP_ENABLE_STARTTLS_AUTO=true
  49. # The address from which system emails will appear to be sent.
  50. EMAIL_FROM_ADDRESS=from_address@gmail.com
  51. ###########################
  52. # Agent Logging #
  53. ###########################
  54. # Number of lines of log messages to keep per Agent
  55. AGENT_LOG_LENGTH=200
  56. ########################################################################################################
  57. # OAuth Configuration #
  58. # More information at the wiki: https://github.com/cantino/huginn/wiki/Configuring-OAuth-applications #
  59. ########################################################################################################
  60. TWITTER_OAUTH_KEY=
  61. TWITTER_OAUTH_SECRET=
  62. THIRTY_SEVEN_SIGNALS_OAUTH_KEY=
  63. THIRTY_SEVEN_SIGNALS_OAUTH_SECRET=
  64. GITHUB_OAUTH_KEY=
  65. GITHUB_OAUTH_SECRET=
  66. #############################
  67. # AWS and Mechanical Turk #
  68. #############################
  69. # AWS Credentials for MTurk
  70. AWS_ACCESS_KEY_ID="your aws access key id"
  71. AWS_ACCESS_KEY="your aws access key"
  72. # Set AWS_SANDBOX to true if you're developing Huginn code.
  73. AWS_SANDBOX=false
  74. ########################
  75. # Various Settings #
  76. ########################
  77. # Specify the HTTP backend library for Faraday, commonly used by
  78. # WebsiteAgent, RssAgent and PostAgent. You can change this depending
  79. # on the performance and stability you need for your service. Any
  80. # choice other than "typhoeus", "net_http", or "em_http" should
  81. # require you to bundle a corresponding gem via Gemfile.
  82. FARADAY_HTTP_BACKEND=typhoeus
  83. # Specify the default User-Agent header value for HTTP requests made
  84. # by Agents that allow overriding the User-Agent header value.
  85. DEFAULT_HTTP_USER_AGENT="Huginn - https://github.com/cantino/huginn"
  86. # Allow JSONPath eval expresions. i.e., $..price[?(@ < 20)]
  87. # You should not allow this on a shared Huginn box because it is not secure.
  88. ALLOW_JSONPATH_EVAL=false
  89. # Enable this setting to allow insecure Agents like the ShellCommandAgent. Only do this
  90. # when you trust everyone using your Huginn installation.
  91. ENABLE_INSECURE_AGENTS=false
  92. # Enable this setting to allow second precision schedule in
  93. # SchedulerAgent. By default, the use of the "second" field is
  94. # restricted so that any value other than a single zero (which means
  95. # "on the minute") is disallowed.
  96. ENABLE_SECOND_PRECISION_SCHEDULE=false
  97. # Use Graphviz for generating diagrams instead of using Google Chart
  98. # Tools. Specify a dot(1) command path built with SVG support
  99. # enabled.
  100. #USE_GRAPHVIZ_DOT=dot
  101. # Timezone. Use `rake time:zones:local` or `rake time:zones:all` to get your zone name
  102. TIMEZONE="Pacific Time (US & Canada)"