.env.example 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 when you deploy to a production environment.
  6. DOMAIN=localhost:3000
  7. # Optionally set an asset host
  8. # ASSET_HOST=http://assets.example.com
  9. ############################
  10. # Database Setup #
  11. ############################
  12. DATABASE_ADAPTER=mysql2
  13. DATABASE_ENCODING=utf8
  14. DATABASE_RECONNECT=true
  15. DATABASE_NAME=huginn_development
  16. DATABASE_POOL=5
  17. DATABASE_USERNAME=root
  18. DATABASE_PASSWORD=""
  19. #DATABASE_HOST=your-domain-here.com
  20. #DATABASE_PORT=3306
  21. #DATABASE_SOCKET=/tmp/mysql.sock
  22. # ==== Additional required production settings ====
  23. # Configure Rails environment. This should only be needed in production and may cause errors in development.
  24. # RAILS_ENV=production
  25. #############################
  26. # Email Configuration #
  27. #############################
  28. # Outgoing email settings. To use Gmail or Google Apps, put your Google Apps domain or gmail.com
  29. # as the SMTP_DOMAIN and your Gmail username and password as the SMTP_USER_NAME and SMTP_PASSWORD.
  30. SMTP_DOMAIN=your-domain-here.com
  31. SMTP_USER_NAME=you@gmail.com
  32. SMTP_PASSWORD=somepassword
  33. SMTP_SERVER=smtp.gmail.com
  34. SMTP_PORT=587
  35. SMTP_AUTHENTICATION=plain
  36. SMTP_ENABLE_STARTTLS_AUTO=true
  37. # The address from which system emails will appear to be sent.
  38. EMAIL_FROM_ADDRESS=from_address@gmail.com
  39. ############################
  40. # Allowing Signups #
  41. ############################
  42. # This invitation code will be required for users to signup with your Huginn installation.
  43. # You can see its use in user.rb.
  44. INVITATION_CODE=try-huginn
  45. ###########################
  46. # Agent Logging #
  47. ###########################
  48. # Number of lines of log messages to keep per Agent
  49. AGENT_LOG_LENGTH=200
  50. #############################
  51. # AWS and Mechanical Turk #
  52. #############################
  53. # AWS Credentials for MTurk
  54. AWS_ACCESS_KEY_ID="your aws access key id"
  55. AWS_ACCESS_KEY="your aws access key"
  56. # Set AWS_SANDBOX to true if you're developing Huginn code.
  57. AWS_SANDBOX=false