https://github.com/cmiksche/wp-remote-updater
Gets the version of a reference site and update the wordpress site, if the reference site has a higher version.
https://github.com/cmiksche/wp-remote-updater
auto-update python remote update upgrade wordpress
Last synced: 4 months ago
JSON representation
Gets the version of a reference site and update the wordpress site, if the reference site has a higher version.
- Host: GitHub
- URL: https://github.com/cmiksche/wp-remote-updater
- Owner: CMiksche
- License: gpl-3.0
- Created: 2017-02-11T17:37:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-20T16:17:34.000Z (over 4 years ago)
- Last Synced: 2024-12-31T20:16:41.641Z (9 months ago)
- Topics: auto-update, python, remote, update, upgrade, wordpress
- Language: Python
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 LicenseAuthor: 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.