How to fill in values for WP install page
-
Hello all,
I am trying to dynamically install WP in a VM when I bring it up. The goal being the WP instance that comes up in the VM should be configurable, have content according to what I want etc..
I can bring up the VM, and download latest.tar.gz , and modify 000-sites for apache and wp-config programatically.
I am stuck at the main WP-install page which has the 5 min install. I need to fill in:
– site title
– password twice
– email
etc..
and click the install buttonOnce I do this I can programatically fill in posts and pages etc.. using python-wordpress-xmlrpc
What I need to do is skip the manual installation step above. Is there some file on the wordpress directory I can modify that will allow me to basically install WP without going through the http://IPaddr/wp-admin/install.php ?
My wp-config.php already has the username, DB name, password etc.. in it. If i try to use python-wordpress-xmlrpc to fill in posts/pages without completing the install step, understandably, things do not work out. So in essence can I use a language like Python etc.. to effectively do what the install page is doing (I could try to use selenium to fill out the install page – but that might be a bit of a heavyweight approach)
Any advice will be great!
- The topic ‘How to fill in values for WP install page’ is closed to new replies.