nickbreen / docker-wp-cli Goto Github PK
View Code? Open in Web Editor NEWDockerised WP-CLI.
License: GNU General Public License v2.0
Dockerised WP-CLI.
License: GNU General Public License v2.0
At the moment it must be fudged:
environment:
MYSQL_ENV_MYSQL_ROOT_PASSWORD: xxxxxxxx
see nickbreen/docker-nginx#2
dupe of #15
See
Apache apparently honours whatever the PHP handler returns.
Default to the latest version!
Otherwise the rewrite rules are not flushed!
Woo API works without mod_disk_cache enabled.
When the module is enabled it borks.
It should update the url and title (possibly via wp option update ...
).
It should probably also re-set the admin user as per the configuration.
I.e. bundle theme1234.zip.
How?
will require s3cmd (and pip).
apt-get install pip
pip install -g s3cmd
will need to support configuration of IAM credentials too.
a child theme declares it's parent's "slug" but wp-cli installs a ZIP (without a root directory in the ZIP?) to a generated directory name. E.g.
wp theme install http://www.cherryframework.com/releases/CherryFramework.zip
Contains:
$ unzip -l CherryFramework.zip | head
Archive: CherryFramework.zip
Length Date Time Name0 2015-03-27 05:20 admin/ 0 2015-03-27 05:20 admin/css/ 3507 2015-03-27 05:20 admin/css/colorpicker.css
24501 2015-03-27 05:20 admin/css/optionsframework.css
And gets installed to (e.g.) themes/CherryFramework-uWHqGv
.
just a list of them in an env var ($WP_RAW)
environment:
WP_RAW: |
wp rewrite structure "/%post_name%/"
wp something else
... and
Either use debian:stable|jessie or ubuntun:latest|trusty
or create a new dockerfile to add it
Themes are not activated at all. Plugins are all activated in bulk post-installation.
No way to specify which theme and plugins should be activated.
So, add an activate
parameter to theme/plugin config lines.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.