My WordPress Build https://wp.davidwindham.com

windhamdavid fd233eac72 wp upstream v.6.2.2 1 year ago
SRDB @ d93fa52dc0 submodule updates 2 years ago
app fd233eac72 wp upstream v.6.2.2 1 year ago
tests 6e23193e8d update tests 3 years ago
wp @ fd233eac72 wp upstream v.6.2.2 1 year ago
.editorconfig 2dc7b192e7 where was i monday morning edition 3 years ago
.env.example b6456b9249 .env 4 years ago
.gitignore 8f32f67c81 rm guten-dev submodule in favor of forked version 3 years ago
.gitmodules 9da40beedb git submodule add -f --depth 10 https://github.com/windhamdavid/gutenberg.git guten-dev 3 years ago
.gitmodules.extra 9ca33888ee gitmodules query-monitor 4 years ago
.gitmodules.remote 9ca33888ee gitmodules query-monitor 4 years ago
.htaccess 52d4c09845 wp up 3 years ago
.jshintignore d7139fa25d jsht ign 10 years ago
.jshintrc 1ea3396e6c json jshint 9 years ago
.travis.yml dae88d0336 travisci 9 years ago
Gruntfile.js 5a50b7e67b wp up 10 years ago
README.md 4815273bdc dw-guten 4 years ago
_install.sh 475b8e8f2e install.sh 4 years ago
composer.json 9394efda18 update composer 2 years ago
composer.lock bb10bfdb7f wp / composer up 4 years ago
config.yml bac67fee83 composer 10 years ago
index-wp-redis.php 88d9b4aa59 redis cache 10 years ago
index.php 13668be204 install 4 years ago
package-lock.json 5cc0bfe8b8 update npm packages 2 years ago
package.json 7e4c320e13 ignore themes 4 years ago
phpunit.xml.dist 6ec6c2b45d htaccess 4 years ago
robots.txt 674cda8eb4 robots.txt :warning: 4 years ago
wp-cli.yml 66c035dae6 wp-cli 4 years ago
wp-config-sample.php 61678184aa config 3 years ago

README.md

Git'ing My WordPress Workflow, so i'm machindependent.

Build Status


ca·ve·at git·mptor: do not clone ( build your own )


2006 - ( v 0.1.0 ) Modern WordPress workflow ala develop.svn.wordpress.org & https://github.com/koop/develop with an enviroment that's easy to replicate between machines.

2020 - ( Updated v 0.2.0 ) Inspiration from Develop-Wordpress, Roots, Square-One, & Laravel. Trying to use the smallest dev footprint possible closely matching the WordPress core workflow alongside of a full suite of development tools. Prefer to use Git version of Wordpress to enable switching versions quickly. Prefer using Composer for plugins to avoid git submodule hell.

Built With:

Wordpress, Node, NPM, Grunt, Composer, Travis CI

Usage

$ git clone git@github.com:windhamdavid/wp.git
$ npm install
$ git submodule update --init --recursive
$ cd wp
$ git fetch --tags && git checkout 5.5.1 /*(WordPress version you'd like)*/
$ cd ..
$ composer update
$ npm run dev 
    /* run _install.sh  
        generates salts/keys 
        cp .env.example to .env
        cp wp-config-sample.php -> wp-config.php
    */
    /* edit you know the drill */

ToDo:

setup tests add rsync have fun

2020 Notes:

Clean up old submodules.

# Remove the submodule entry from .git/config
git submodule deinit -f path/to/submodule

# Remove the submodule directory from the superproject's .git/modules directory
rm -rf .git/modules/path/to/submodule

# Remove the entry in .gitmodules and remove the submodule directory located at path/to/submodule
git rm -f path/to/submodule

[submodule "app/themes/_s"]
    path = app/themes/_s
    url = https://github.com/Automattic/_s.git
[submodule "app/plugins/vip-scanner"]
    path = app/plugins/vip-scanner
    url = https://github.com/Automattic/vip-scanner.git
[submodule "app/plugins/developer"]
    path = app/plugins/developer
    url = https://github.com/Automattic/developer.git
[submodule "app/plugins/wp-redis-cache"]
    path = app/plugins/wp-redis-cache
    url = https://github.com/windhamdavid/wp-redis-cache.git
[submodule "app/plugins/wp-debug-bar"]
    path = app/plugins/wp-debug-bar
    url = https://github.com/brandwaffle/wp-debug-bar.git
[submodule "app/plugins/debug-bar-slow-actions"]
    path = app/plugins/debug-bar-slow-actions
    url = https://github.com/kovshenin/debug-bar-slow-actions.git
[submodule "app/plugins/WP-API"]
    path = app/plugins/WP-API
    url = https://github.com/WP-API/WP-API.git

Collect all of my Tweaks into a Starter Template so I don't have to pull up old themes to go looking for them.

-> app/themes/dwp/
-> dwp/functions.php 
####

Modified .htaccess

Localhost install in /wp/ directory. 
Sets deflate compression
Add security: Some may replicate server wide settings in /etc/apache2/custom.d/ or disable functionality 

Added /SRDB/ submodule - https://github.com/interconnectit/Search-Replace-DB/