You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christoph Miksche 05b6e28ca7 Functionality to change into the wordpress dir before uploading added 1 year ago
searchlib init 2 years ago
.gitignore init 2 years ago
LICENSE Initial commit 2 years ago
README.md Additional installation method 2 years ago
settings.py Functionality to change into the wordpress dir before uploading added 1 year ago
updater.py Functionality to change into the wordpress dir before uploading added 1 year ago

README.md

WordPress Remote Updater

Gets the version of a reference site and update the wordpress site, if the reference site has a higher version.

It downloads the latest wordpress version and upload it via ftp. After login, it clicks on the “Update WordPress Database” link.

Procedure

  • Checks if the reference site has a higher version.
  • Download the new wp version.
  • Unzip the wordpress zip file.
  • Upload the new files.
  • Login to update the database.
  • Update the wordpress database.

General Information

License: GNU General Public License

Author: Christoph Daniel Miksche (m5e.de)

Installation

  1. Use the following command to install all dependencies.
  pip install BeautifulSoup4 lxml mechanize

Alternatively if your using Debian:

  apt install python-beautifulsoup python-mechanize python-lxml
  1. Then clone the git repository.

  2. After that, please change the variables in the settings.py file.

  3. Enter the command python updater.py in your commandline.

  4. If you want to schedule your updates, edit your /etc/crontab file.