Skip to content

Commit d348713

Browse files
l.ll.
1 parent 8f78f0d commit d348713

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+3501
-36
lines changed

.env.sample

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# Configuration for the Ideas On Purpose WordPress Docker environment,
2+
# more info here: https://github.com/ideasonpurpose/docker-wordpress-dev
3+
4+
5+
SSH_KEY_PATH=
6+
# SSH_KEY_PATH should be set to the local path to your private key. For example,
7+
# if you have public key named `id_ed25519_deploy.pub` associated with your managed
8+
# WordPress account, SSH_KEY_PATH should point to the pair's matching private
9+
# key like this: SSH_KEY_PATH="~/.ssh/id_ed25519_deploy"
10+
11+
12+
SSH_LOGIN=
13+
# SSH_LOGIN should be set to the SSH Login string from WP Engine's or Kinsta's
14+
# admin backend. They should look something like this:
15+
# - wpengine: "[email protected]"
16+
# - kinsta: "ssh [email protected] -p 54321"
17+
# In the above examples the elements map like this:
18+
# `${SSH_USER}@${SSH_HOST}`
19+
# Each item can also be entered individually, and individual entries will take
20+
# precedence over components extracted from SSH_LOGIN.
21+
# Values should be quoted for compatibility with Docker Compose v2.x
22+
23+
24+
SSH_USER=
25+
# The user account which connects to the server. For WP Engine, this matches the
26+
# environment name.
27+
28+
29+
SSH_HOST=
30+
# The server address to connect to.
31+
32+
33+
SSH_PORT=
34+
# The server port listening for SSH connections
35+
36+
37+
SSH_WP_CONTENT_DIR=
38+
# default: sites/${SSH_USER}/wp-content
39+
# SSH_WP_CONTENT_DIR is the path to the wordpress wp-content directory. This will
40+
# most likely match the `WP_CONTENT_DIR` WordPress constant and does not include
41+
# a trailing slash.
42+
# Path can be relative to the SSH user home folder or an absolute path.
43+
# Examples:
44+
# - wpengine: sites/${SSH_USER}/wp-content
45+
# - kinsta: public/wp-content
46+
47+
48+
IOP_DEV_PLUGIN_1=
49+
IOP_DEV_PLUGIN_2=
50+
IOP_DEV_PLUGIN_3=
51+
IOP_DEV_PLUGIN_4=
52+
IOP_DEV_PLUGIN_5=
53+
IOP_DEV_PLUGIN_6=
54+
IOP_DEV_PLUGIN_7=
55+
IOP_DEV_PLUGIN_8=
56+
# Additional development plugins can be mounted into the WordPress environment as
57+
# individual volumes. The local relative path to the working plugin directory should
58+
# be pointed to the absolute path inside the container. In the following example,
59+
# an example-plugin project is being developed in a sibling directory to the theme:
60+
#
61+
# IOP_DEV_PLUGIN_1="../example-plugin:/var/www/html/wp-content/plugins/example-plugin"
62+
63+
64+
WORDPRESS_DEBUG=1
65+
# This is used to set the WP_DEBUG constant to toggle WordPress debugging.
66+
# .env vars are imported as strings, so true/false will not work correctly.
67+
# PHP does correctly coerce the integers 0 and 1 to their corresponding boolean values.
68+
# PHP interprets the number 0 as a string to boolean false
69+
# Leave this value blank or set it to 0 to disable WP_DEBUG
70+
# Setting this to 1, true or any other non-empty string enables WP_DEBUG
71+
72+
73+
WP_ENVIRONMENT_TYPE=
74+
# Blank or one of 'production', 'staging' or 'development'. For IOP's development
75+
# environments, this value defaults to 'development'. Otherwise WordPress defaults
76+
# to 'production'. Documentation:
77+
# https://developer.wordpress.org/reference/functions/wp_get_environment_type/

.gitignore

Lines changed: 177 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,178 @@
1-
node_modules
2-
logs
3-
wp-content
4-
!wp-content/themes
5-
wp-content/themes/twenty*
1+
# Managed WordPress Hosting .gitignore file for ignoring WordPress files
2+
#
3+
# Most recent revision here:
4+
# https://gist.github.com/joemaller/4f7518e0d04a82a3ca16
5+
#
6+
# Raw Source (for curl):
7+
# https://gist.githubusercontent.com/joemaller/4f7518e0d04a82a3ca16/raw
8+
#
9+
# Used by these WordPress Development environments:
10+
# https://github.com/ideasonpurpose/docker-wordpress-dev
11+
# https://github.com/ideasonpurpose/basic-wordpress-vagrant (deprecated)
12+
#
13+
# Originally based on WP Engine's gitignore files:
14+
# https://wpengine.com/support/using-git-on-sites-with-legacy-staging/#ignore
15+
# https://wpengine.com/wp-content/uploads/2013/10/recommended-gitignore-no-wp.txt
16+
17+
# environment vars
18+
.env
19+
20+
# temp files, OS junk and dotfiles
21+
*.bak
22+
*.swp
23+
*.tmp
24+
*~
25+
.cvs
26+
.DS_Store
27+
.listing
28+
.svn
29+
Thumbs.db
30+
31+
# wp core (as of 4.6)
32+
/db-config.php
33+
/index.php
34+
/license.txt
35+
/readme.html
36+
/wp-activate.php
37+
/wp-admin
38+
/wp-app.php
39+
/wp-atom.php
40+
/wp-blog-header.php
41+
/wp-comments-post.php
42+
/wp-commentsrss2.php
43+
/wp-config-sample.php
44+
/wp-content/index.php
45+
/wp-content/themes/index.php
46+
/wp-content/themes/twenty*
47+
/wp-cron.php
48+
/wp-feed.php
49+
/wp-includes
50+
/wp-links-opml.php
51+
/wp-load.php
52+
/wp-login.php
53+
/wp-mail.php
54+
/wp-pass.php
55+
/wp-rdf.php
56+
/wp-register.php
57+
/wp-rss.php
58+
/wp-rss2.php
59+
/wp-settings.php
60+
/wp-signup.php
61+
/wp-trackback.php
62+
/xmlrpc.php
63+
64+
# wordpress config, user-content and caches
65+
cache/
66+
sitemap.xml
67+
sitemap.xml.gz
68+
wp-config.php
69+
wp-content/advanced-cache.php
70+
wp-content/backup-db/
71+
wp-content/backups/
72+
wp-content/blogs.dir
73+
wp-content/cache/
74+
wp-content/cache/supercache/
75+
wp-content/managewp/
76+
wp-content/upgrade/
77+
wp-content/uploads/
78+
wp-content/wp-cache-config.php
79+
80+
# WordPress debugging files & logs
81+
*.log
82+
debug.log
83+
log.txt
84+
logs/
85+
86+
# Third-party files and leftovers
87+
gt-cache/
88+
ics-importer-cache/
89+
imagecache.*
90+
pclzip-*.gz
91+
wp-content/w3-.*
92+
wp-content/w3tc.*
93+
gallery/*
94+
album/*
95+
96+
# wpengine specific
97+
.smushit-status
98+
_wpeprivate
99+
wp-content/advanced-cache.php
100+
wp-content/object-cache.php
101+
102+
# flywheel specific
103+
wp-content/flywheel-config/
104+
105+
# large/disallowed file types
106+
# a CDN should be used for these
107+
*.3gp
108+
*.3gpp
109+
*.asf
110+
*.asx
111+
*.avi
112+
*.bin
113+
*.deb
114+
*.dll
115+
*.dmg
116+
*.exe
117+
*.flv
118+
*.hqx
119+
*.img
120+
*.iso
121+
*.kar
122+
*.m4a
123+
*.m4v
124+
*.mid
125+
*.midi
126+
*.mng
127+
*.mov
128+
*.mp3
129+
*.mp4
130+
*.mpeg
131+
*.mpg
132+
*.msi
133+
*.msm
134+
*.msp
135+
*.ogg
136+
*.ra
137+
*.webm
138+
*.wmv
139+
140+
# don't commit database dumpfiles
6141
*.sql
142+
*.sql.gz
143+
*.sql.tgz
144+
*.sql.zip
145+
146+
# npm and composer dependencies
147+
node_modules/
148+
vendor/
149+
150+
# Let's try ignoring sourcemaps
151+
*.css.map
152+
*.js.map
153+
154+
# basic-wordpress-vagrant v0.3.0 added links to Kint and XHProf. Ignore them
155+
/kint
156+
/xhprof
157+
158+
# Moving away from Git-deploys, exclude generated artifacts
159+
/_builds/
160+
/builds
161+
dist/
162+
163+
# Webpack Stats & profiler
164+
/webpack
165+
166+
# Ignore all plugins
167+
wp-content/plugins
168+
wp-content/mu-plugins
169+
170+
# I have not yet wanted these files in project history
171+
*.code-workspace
172+
173+
# Docker experiments
174+
_log/
175+
_profiler/
176+
177+
# WSL 2 Cruft
178+
*:Zone.Identifier

0 commit comments

Comments
 (0)