Coder Social home page Coder Social logo

docker-wordpress-vip's People

Contributors

chriszarate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-wordpress-vip's Issues

No super admin

Hi Chris, and thanks for your work on this.

I'm not a frequent WordPress developer, so I may be missing something obvious but the wordpress/wordpress user does not appear to have super admin privileges. Is there a way to add a SA or promote the default user?

Edit: I should mention, I tried:

docker-compose exec wordpress wp super-admin add wordpress

which results in:

PHP Warning:  in_array() expects parameter 2 to be array, string given in phar:///usr/local/bin/wp-cli/php/commands/super-admin.php on line 110
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/wp-cli:0
PHP   2. include() /usr/local/bin/wp-cli:4
PHP   3. include() phar:///usr/local/bin/wp-cli/php/boot-phar.php:5
PHP   4. WP_CLI\Runner->start() phar:///usr/local/bin/wp-cli/php/wp-cli.php:21
PHP   5. WP_CLI\Runner->_run_command() phar:///usr/local/bin/wp-cli/php/WP_CLI/Runner.php:906
PHP   6. WP_CLI\Runner->run_command() phar:///usr/local/bin/wp-cli/php/WP_CLI/Runner.php:319
PHP   7. WP_CLI\Dispatcher\Subcommand->invoke() phar:///usr/local/bin/wp-cli/php/WP_CLI/Runner.php:312
PHP   8. call_user_func:{phar:///usr/local/bin/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:372}() phar:///usr/local/bin/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:372
PHP   9. WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}() phar:///usr/local/bin/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:372
PHP  10. call_user_func:{phar:///usr/local/bin/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:67}() phar:///usr/local/bin/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:67
PHP  11. Super_Admin_Command->add() phar:///usr/local/bin/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:67
PHP  12. in_array() phar:///usr/local/bin/wp-cli/php/commands/super-admin.php:110
No changes.

.dev TLD

Google owns the .dev TLD, it'd be best to switch to the .test TLD as it's protected by an RFC, and Google and making modifications to chromium to enforce internal standards on .dev sites

Can`t run

$ docker-compose up

dockerwordpressvip_mysql_1 is up-to-date
dockerwordpressvip_mysql_phpunit_1 is up-to-date
Starting dockerwordpressvip_proxy_1
Starting dockerwordpressvip_lib_1
Recreating dockerwordpressvip_wordpress_1

ERROR: for proxy Cannot start service proxy: driver failed programming external connectivity on endpoint dockerwordpressvip_proxy_1 (8a269964bf883bf2d3e7f4d9ee8a8554a7e91b58f489e739f4e3448657b5d0aa): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)
ERROR: Encountered errors while bringing up the project.

Info

This is a wordpress instalation with VIP plugins.
I thought it was a wordpress vip quickstart instalation.

=(

Should there be a /tmp/wordpress-tests-lib directory?

Hey Chris.

New to Phpunit and no Docker expert either. When I run docker-compose exec wordpress tests, it errors out because my bootstrap file is looking for /tmp/wordpress-tests-lib/includes/functions.php.

As per Pippin's Plugins tutorial, I used wp-cli: wp scaffold plugin-tests to create the file structure.

Being that /tmp has a wordpress directory, but no wordpress-tests-lib, I tried running:

docker-compose exec wordpress bash wp-content/plugins/my-plugin/bin/install-wp-tests.sh wordpress_test wordpress 'wordpress' localhost latest

Which errors out without svn installed. I don't imagine installing subversion on the container is the answer.

I'm sure I'm missing a step. Can you point me in the right direction.

Thank you very much for this package set, by the way. I've linked to it from the above tutorial comments as well as from an SO post.

Plugin directory volume instead of individual plugins.

Hey! Is it possible to mount something like

plugins:/var/www/html/wp-content/plugins

Rather than:

plugins/jetpack:/var/www/html/wp-content/plugins/jetpack
plugins/something:/var/www/html/wp-content/plugins/something
plugins/another-plugin:/var/www/html/wp-content/plugins/another-plugin

Missing Memcached

Object caching is missing from this container, so behaviour may not match the final production environment. The VIP Go MU plugins repo has a memcached dropin already so it just needs setting up in the containers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.