Skip to content

Instantly share code, notes, and snippets.

@ryanirelan
Created April 5, 2018 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanirelan/3117495fadfb7bfaf1d9fa73d3feb3bc to your computer and use it in GitHub Desktop.
Save ryanirelan/3117495fadfb7bfaf1d9fa73d3feb3bc to your computer and use it in GitHub Desktop.
# The environment Craft is currently running in ('dev', 'staging', 'production', etc.)
ENVIRONMENT="dev"
# The secure key Craft will use for hashing and encrypting data
SECURITY_KEY=""
# The database driver that will used ('mysql' or 'pgsql')
DB_DRIVER="mysql"
# The database server name or IP address (usually this is 'localhost' or '127.0.0.1')
DB_SERVER="localhost"
# The database username to connect with
DB_USER="root"
# The database password to connect with
DB_PASSWORD=""
# The name of the database to select
DB_DATABASE=""
# The database schema that will be used (PostgreSQL only)
DB_SCHEMA="public"
# The prefix that should be added to generated table names (only necessary if multiple things are sharing the same database)
DB_TABLE_PREFIX=""
# The port to connect to the database with. Will default to 5432 for PostgreSQL and 3306 for MySQL.
DB_PORT=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment