Giter Club home page Giter Club logo

wp-remote-updater's Introduction

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

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.

wp-remote-updater's People

Contributors

cmiksche avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

wp-remote-updater's Issues

Replace mechanize

The mechanize package currently only works with python 2.
This project will use python 3 in the future - so mechanize needs to be replaced.

Add report function

Add a function to

  • send a email with a report after the update
  • create a log file with a report

Move from Travis CI to Drone

Travis CI will limit the number of build minutes in the future, Drone CI won't and I already use Drone CI in other projects.

So I should migrate this project to Drone CI

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.