Last active
August 29, 2015 14:09
-
-
Save tiagopog/477818c405c0cf8f2369 to your computer and use it in GitHub Desktop.
.env.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ==== Required configuration settings ==== | |
# Replace the following with the output from "rake secret" | |
APP_SECRET_TOKEN=REPLACE_ME_NOW! | |
# This is the domain where your instance will be running | |
DOMAIN=localhost:3000 | |
# Optionally set an asset host | |
# ASSET_HOST=http://assets.example.com | |
############################ | |
# Database Setup # | |
############################ | |
DATABASE_ADAPTER=mysql2 | |
DATABASE_ENCODING=utf8 | |
DATABASE_RECONNECT=true | |
DATABASE_NAME=app_development | |
DATABASE_POOL=5 | |
DATABASE_USERNAME=root | |
DATABASE_PASSWORD="" | |
#DATABASE_HOST=your-domain-here.com | |
#DATABASE_PORT=3306 | |
#DATABASE_SOCKET=/tmp/mysql.sock | |
# MySQL only: If you are running a MySQL server >=5.5.3, you should | |
# set DATABASE_ENCODING to utf8mb4 instead of utf8 so that the | |
# database can hold 4-byte UTF-8 characters like emoji. | |
#DATABASE_ENCODING=utf8mb4 | |
# ==== Additional required production settings ==== | |
# Configure Rails environment. This should only be needed in production and may cause errors in development. | |
# RAILS_ENV=production | |
# Should Rails force all requests to use SSL? | |
FORCE_SSL=false | |
############################# | |
# Email Configuration # | |
############################# | |
# Outgoing email settings. To use Gmail or Google Apps, put your Google Apps domain or gmail.com | |
# as the SMTP_DOMAIN and your Gmail username and password as the SMTP_USER_NAME and SMTP_PASSWORD. | |
# | |
# PLEASE NOTE: In order to enable emails locally (e.g., when not in the production Rails environment), | |
# you must also change config.action_mailer.perform_deliveries in config/environments/development.rb. | |
SMTP_DOMAIN=your-domain-here.com | |
[email protected] | |
SMTP_PASSWORD=somepassword | |
SMTP_SERVER=smtp.gmail.com | |
SMTP_PORT=587 | |
SMTP_AUTHENTICATION=plain | |
SMTP_ENABLE_STARTTLS_AUTO=true | |
# The address from which system emails will appear to be sent. | |
[email protected] | |
########################### | |
# Agent Logging # | |
########################### | |
# Number of lines of log messages to keep per Agent | |
AGENT_LOG_LENGTH=200 | |
######################################################################################################## | |
# OAuth Configuration # | |
# More information at the wiki: https://github.com/cantino/huginn/wiki/Configuring-OAuth-applications # | |
######################################################################################################## | |
TWITTER_OAUTH_KEY= | |
TWITTER_OAUTH_SECRET= | |
THIRTY_SEVEN_SIGNALS_OAUTH_KEY= | |
THIRTY_SEVEN_SIGNALS_OAUTH_SECRET= | |
GITHUB_OAUTH_KEY= | |
GITHUB_OAUTH_SECRET= | |
TUMBLR_OAUTH_KEY= | |
TUMBLR_OAUTH_SECRET= | |
DROPBOX_OAUTH_KEY= | |
DROPBOX_OAUTH_SECRET= | |
############################# | |
# AWS Settings # | |
############################# | |
AWS_ACCESS_KEY_ID="your aws access key id" | |
AWS_ACCESS_KEY="your aws access key" | |
######################## | |
# Various Settings # | |
######################## | |
# Specify the HTTP backend library for Faraday, commonly used by | |
# WebsiteAgent, RssAgent and PostAgent. You can change this depending | |
# on the performance and stability you need for your service. Any | |
# choice other than "typhoeus", "net_http", or "em_http" should | |
# require you to bundle a corresponding gem via Gemfile. | |
FARADAY_HTTP_BACKEND=typhoeus | |
# Enable this setting to allow second precision schedule in | |
# SchedulerAgent. By default, the use of the "second" field is | |
# restricted so that any value other than a single zero (which means | |
# "on the minute") is disallowed to prevent abuse of service. | |
ENABLE_SECOND_PRECISION_SCHEDULE=false | |
# Specify the scheduler frequency in seconds (default: 0.3). | |
# Increasing this value will help reduce the use of system resources | |
# at the expense of time accuracy. | |
#SCHEDULER_FREQUENCY=0.3 | |
# Use Graphviz for generating diagrams instead of using Google Chart | |
# Tools. Specify a dot(1) command path built with SVG support | |
# enabled. | |
#USE_GRAPHVIZ_DOT=dot | |
# Timezone. Use `rake time:zones:local` or `rake time:zones:all` to get your zone name | |
TIMEZONE="Pacific Time (US & Canada)" | |
# Number of failed jobs to keep in the database | |
FAILED_JOBS_TO_KEEP=100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment