-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Taylor Lovett <tlovett88@gmail.com>
- Loading branch information
Showing
22 changed files
with
548 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"10up-toolkit": patch | ||
--- | ||
|
||
Simple enhancements to toolkit project command to align with devops needs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
{ | ||
"project_name": "10up Project", | ||
"php_version": "8.2", | ||
"build_script_path": "", | ||
"wordpress_version": "", | ||
"deploy_script_path": "", | ||
"create_payload_script_path": "", | ||
"environments": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
payload | ||
build/vendor | ||
build/composer.lock | ||
build/composer.json | ||
/vendor | ||
wordpress/.env | ||
wordpress/*php | ||
wordpress/wp-content/uploads | ||
wordpress/wp-includes | ||
wordpress/wp-admin | ||
wordpress/license.txt | ||
wordpress/readme.html | ||
!wordpress/wp-config.php | ||
docker-compose.override.yml | ||
.config.json | ||
wordpress/wp-content/advanced-cache.php | ||
wordpress/wp-content/mu-plugins/10up-experience.php | ||
wordpress/wp-content/mu-plugins/10up-experience/ | ||
wordpress/wp-content/mu-plugins/batcache.php | ||
wordpress/wp-content/mu-plugins/batcache/ | ||
wordpress/wp-content/mu-plugins/redis-cache.php | ||
wordpress/wp-content/mu-plugins/redis-cache/ | ||
wordpress/wp-content/mu-plugins/s3-uploads.php | ||
wordpress/wp-content/mu-plugins/s3-uploads/ | ||
wordpress/wp-content/object-cache.php | ||
.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
# Add builds scripts here. This script will be run from the root of your project (same directory as .tenup.yml). | ||
#!/usr/bin/env bash -l | ||
# NOTE: you should keep the above line, at line 1. Only modify if you know what you are doing. | ||
|
||
nvm install | ||
node -v | ||
npm install | ||
# You should use npx 10up-toolkit build to build your project. When you do, there are a number of things | ||
# you get "for free" including nvm handling and the basics of building are handled automatically. You | ||
# only need to provide additional build routines if the default build system doesn't quite get things | ||
# right. Adding build scripts is easy. Create as many .sh files as you need in this scripts directory. | ||
|
||
# Here is an example script you can use to get you started It assumes you are using a "modern" layout. | ||
|
||
# change directories to your theme or plugin | ||
pushd . | ||
|
||
# run your build commands | ||
echo "Hello World!" | ||
|
||
# return to where we were so the next build script starts off from the same place | ||
popd |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM alpine:latest | ||
|
||
USER root | ||
WORKDIR /var/www/html | ||
COPY payload . | ||
RUN mkdir wp-content/uploads && \ | ||
chown 33:33 wp-content/uploads |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.