wckr / wocker

Create your WordPress development environment in 3 SECONDS!
https://wocker.dev/
MIT License
480 stars 42 forks source link

Add method to choose wordpress version #16

Closed ben-barbier closed 9 years ago

ben-barbier commented 9 years ago

It's very important to test plugin compatibility. (copy of https://github.com/ixkaito/wocker/issues/16)

ixkaito commented 9 years ago

I know it's useful to have an option to choose WordPress version, but this will take more time to provision. Wocker is not aiming at a versatile tool. I'm not planning to add it now, but maybe in the future. Anyway, thanks :)

ixkaito commented 9 years ago

I found a solution about this. For example, to test with WordPress 3.5.

1. Run a new container test

core@wocker $ wocker run --name test

2. Download version 3.5 using wp command

core@wocker $ wocker wp core download --version=3.5 --force

Now, you will have a WordPress 3.5 environment.

I was considering to have options to choose WordPress version when creating containers, but finally I think this is the ideal way of Wocker.

ben-barbier commented 9 years ago

Thank you a lot!

It works perfectly.