-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.env
63 lines (46 loc) · 2.33 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# The environment Craft is currently running in (dev, staging, production, etc.)
ENVIRONMENT=dev
# The secure key Craft will use for hashing and encrypting data
CRAFT_SECURITY_KEY=
#CRAFT_SECURITY_KEY=gl3r0YAU3OQ4YFk_lEiyHGdbwt3MD3MX
# The application ID used to uniquely store session and cache data, mutex locks, and more
CRAFT_APP_ID=
#CRAFT_APP_ID=CraftCMS--e3276375-4a8d-4f56-bd44-19896d72c3cc
# The database driver that will be used (mysql or pgsql)
CRAFT_DB_DRIVER=mysql
# The database server name or IP address
CRAFT_DB_SERVER=localhost
# The port to connect to the database with
CRAFT_DB_PORT=3306
# The name of the database to select
CRAFT_DB_DATABASE=
#CRAFT_DB_DATABASE=craft_boilerplate
# The database username to connect with
CRAFT_DB_USER=
#CRAFT_DB_USER=root
# The database password to connect with
CRAFT_DB_PASSWORD=
#CRAFT_DB_PASSWORD=root
# The database schema that will be used (PostgreSQL only)
CRAFT_DB_SCHEMA=
# The prefix that should be added to generated table names (only necessary if multiple things are sharing the same database)
CRAFT_DB_TABLE_PREFIX=
# The url of your site
PRIMARY_SITE_URL=
#PRIMARY_SITE_URL=http://boilerplate.local/
# The name of the site to be shown in the CMS
SITE_NAME="Craft CMS Boilerplate"
# Admin email
#Mailgun
MG_USER=
MG_PASSWORD=
#Amazon S3
S3_KEY_ID=
S3_SECRET=
#ReCaptcha
CAPTCHA_SITE=
CAPTCHA_SECRET=
# OPTIONAL - Backup commands for use with MAMP
BACKUP_COMMAND="/Applications/MAMP/Library/bin/mysqldump -h localhost -u root -proot --add-drop-table --comments --create-options --dump-date --no-autocommit --routines --set-charset --triggers --single-transaction --no-data --result-file=\"{file}\" {database} && /Applications/MAMP/Library/bin/mysqldump -h localhost -u root -proot --add-drop-table --comments --create-options --dump-date --no-autocommit --routines --set-charset --triggers --no-create-info --ignore-table={database}.assetindexdata --ignore-table={database}.assettransformindex --ignore-table={database}.cache --ignore-table={database}.sessions --ignore-table={database}.templatecaches --ignore-table={database}.templatecachecriteria --ignore-table={database}.templatecacheelements --ignore-table={database}.templatecachequeries {database} >> \"{file}\""
RESTORE_COMMAND="/Applications/MAMP/Library/bin/mysql -h localhost -u root -proot {database} < \"{file}\""