CMiksche / wp-remote-updater

Gets the version of a reference site and update the wordpress site, if the reference site has a higher version.
GNU General Public License v3.0
1 stars 0 forks source link
auto-update python remote update upgrade wordpress

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

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 pipenv
    pipenv install

    Alternatively if your using Debian:

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

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

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

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