.env.example 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. #############################
  27. # Email Configuration #
  28. #############################
  29. # Outgoing email settings. To use Gmail or Google Apps, put your Google Apps domain or gmail.com
  30. # as the SMTP_DOMAIN and your Gmail username and password as the SMTP_USER_NAME and SMTP_PASSWORD.
  31. #
  32. # PLEASE NOTE: In order to enable emails locally (e.g., when not in the production Rails environment),
  33. # you must also change config.action_mailer.perform_deliveries in config/environments/development.rb.
  34. SMTP_DOMAIN=your-domain-here.com
  35. SMTP_USER_NAME=you@gmail.com
  36. SMTP_PASSWORD=somepassword
  37. SMTP_SERVER=smtp.gmail.com
  38. SMTP_PORT=587
  39. SMTP_AUTHENTICATION=plain
  40. SMTP_ENABLE_STARTTLS_AUTO=true
  41. # The address from which system emails will appear to be sent.
  42. EMAIL_FROM_ADDRESS=from_address@gmail.com
  43. ############################
  44. # Allowing Signups #
  45. ############################
  46. # This invitation code will be required for users to signup with your Huginn installation.
  47. # You can see its use in user.rb.
  48. INVITATION_CODE=try-huginn
  49. ###########################
  50. # Agent Logging #
  51. ###########################
  52. # Number of lines of log messages to keep per Agent
  53. AGENT_LOG_LENGTH=200
  54. #############################
  55. # AWS and Mechanical Turk #
  56. #############################
  57. # AWS Credentials for MTurk
  58. AWS_ACCESS_KEY_ID="your aws access key id"
  59. AWS_ACCESS_KEY="your aws access key"
  60. # Set AWS_SANDBOX to true if you're developing Huginn code.
  61. AWS_SANDBOX=false
  62. ########################
  63. # Various Settings #
  64. ########################
  65. # Allow JSONPath eval expresions. i.e., $..price[?(@ < 20)]
  66. # You should not allow this on a shared Huginn box because it is not secure.
  67. ALLOW_JSONPATH_EVAL=false
  68. # Use Graphviz for generating diagrams instead of using Google Chart
  69. # Tools. Specify a dot(1) command path built with SVG support
  70. # enabled.
  71. #USE_GRAPHVIZ_DOT=dot