Install Wordpress + WooCommerce + WP CLI on a box
User story: I am an LDH developer. I'd like to set up a local WooCommerce instance, so I can develop against it.
Suggested solution: Ansible playbook.
Success:
- I can create a local GNOME Box
user@librem13:~$ create_box woocommerce.local
- I can run a playbook to set up a WooCommerce instance:
user@librem13:~$ ansible-playbook -i hosts woocommerce.yml
- I can ssh onto the WooCommerce instance:
user@librem13:~$ ssh woocommerce.local
-
I can visit the user web interface ( https://woocommerce.local ) and the admin web interface ( https://woocommerce.local/wp-admin/ ) from my local browser.
-
Instructions for these steps can be found on https://source.puri.sm/liberty/ldh_developer/wikis/home -- any scripts are stored in https://source.puri.sm/liberty/ldh_developer
Notes:
A scalable, production-ready WooCommerce instance is not required. A single box can host the Wordpress instance, the database and so on.