Skip to content

Conversation

@VesterDe
Copy link

This allows wordmove usage via

wocker wordmove COMMAND

I used the same code used for wp-cli and wrote basic instructions.

@ixkaito
Copy link
Member

ixkaito commented Nov 20, 2016

@VesterDe Thanks! Will merge.

@mariojankovic
Copy link

@ixkaito any news on this?

@ixkaito
Copy link
Member

ixkaito commented Jun 3, 2017

@mariojankovic Working on Wocker v1.2. Hoping I can release it this month.

@VesterDe
Copy link
Author

VesterDe commented Jul 31, 2017

I hope everything is going ok with Wocker v1.2. I don't know if this will be included, but if anyone wants to use Wordmove with Wocker it has gotten increasingly complicated with the last few releases. I haven't researched deeply into how to solve it long term.

My minimum viable effort is:

  1. vagrant ssh into wocker
  2. wocker exec -it _imageName_ bash where imageName is whatever image is running right now.
  3. apt-get update, to get apt-get working.
  4. apt-get install lftp, because wordmove needs it.

At this point, it used to be enough to apt-get install ruby, but wordmove needs Ruby ^2.4, which isn't the one you get by default. So my solution is

  1. curl -L get.rvm.io | bash -s stable, to get rvm (ruby version manager).
  2. source /etc/profile.d/rvm.sh, to make it work
  3. rvm install 2.4, it should also make it the active version, check via "
  4. gem install wordmove, ruby versions below 2.4 fail on some dependency or another here.
  5. wordmove init, and you're done.

Well, point Nr. 6 needs to be repeated each time you go into the docker bash.

Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants