File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This is a sample config for local development.
2
+ # Simply edit/copy as needed and rename to .env.local.
3
+ # application.php will load this file if you're not in a Pantheon (dev/test/live) environment.
4
+
5
+ # FIXME: Update app name below
6
+ WP_HOME = https://fixme-app-name
7
+ WP_SITEURL = ${ WP_HOME } /wp
8
+ WP_ENV = development
9
+
10
+ DB_NAME = pantheon
11
+ DB_USER = pantheon
12
+ DB_PASSWORD = pantheon
13
+ DB_HOST = database
14
+
15
+ # Optional database variables
16
+ # DB_HOST='localhost'
17
+ # DB_PREFIX='wp_'
18
+
19
+ # Specify optional debug.log path starting from web root.
20
+ # WP_DEBUG_LOG='/app/debug.log'
21
+
22
+ # Generate your keys here: https://roots.io/salts.html
23
+ AUTH_KEY = generateme
24
+ SECURE_AUTH_KEY = generateme
25
+ LOGGED_IN_KEY = generateme
26
+ NONCE_KEY = generateme
27
+ AUTH_SALT = generateme
28
+ SECURE_AUTH_SALT = generateme
29
+ LOGGED_IN_SALT = generateme
30
+ NONCE_SALT = generateme
31
+
32
+ # 3rd-party vars
33
+ ACF_PRO_KEY = ' fixme-get-from-1password'
34
+ # https://www.advancedcustomfields.com/resources/installing-acf-pro-with-composer/
35
+ COMPOSER_AUTH = ' {"http-basic": {"connect.advancedcustomfields.com": {"username": "${ACF_PRO_KEY}", "password": "${WP_HOME}"}}}'
Original file line number Diff line number Diff line change
1
+ DB_NAME=$_ENV['DB_NAME']
2
+ DB_USER=$_ENV['DB_USER']
3
+ DB_PASSWORD=$_ENV['DB_PASSWORD']
4
+
5
+ # Pantheon sets these values for you. If you want to shuffle them you can do so via your dashboard.
6
+ AUTH_KEY=$_ENV['AUTH_KEY']
7
+ SECURE_AUTH_KEY=$_ENV['SECURE_AUTH_KEY']
8
+ LOGGED_IN_KEY=$_ENV['LOGGED_IN_KEY']
9
+ NONCE_KEY=$_ENV['NONCE_KEY']
10
+ AUTH_SALT=$_ENV['AUTH_SALT']
11
+ SECURE_AUTH_SALT=$_ENV['SECURE_AUTH_SALT']
12
+ LOGGED_IN_SALT=$_ENV['LOGGED_IN_SALT']
13
+ NONCE_SALT=$_ENV['NONCE_SALT']
You can’t perform that action at this time.
0 commit comments