Giter VIP home page Giter VIP logo

wp_manager's People

Contributors

danixland avatar

Watchers

 avatar

wp_manager's Issues

we need a backup option

The script should offer a way to backup (and possibly restore) all the data in an automated way, create a dump of the database, save all files in the VirtualHost DocRoot and also the entry in the VHost config file.

The backup should then be saved as a compressed archive in a system directory and/or offered to the user to be stored somewhere safe.

The script should also allow the user to pass a compressed archive as a parameter to restore a backup.

install site inside docRoot instead of subdirectory

What if we want to install a website inside the DocRoot instead of creating a VirtualHost?

The script should be able to fully manage a website installed inside the DocRoot as well as those installed inside subdirectories.

Move vhost settings to separate folder

It's probably cleaner and easier to use a different folder to hold the vhost.conf files separated, one per each site, uniquely named just to be easily recognizable and usable by the script itself.

This will probably be a requirement in order for the script to work, it'll be just a matter of creating a directory in the $APACHECONF directory and add a line to include every file under it inside the main httpd.conf file.

stop using getopts and split main script into multiple files

Since the options are growing in number and it's getting hard to maintain such a large script it's better to split the main file into smaller "libraries" and build it for distribution.

It is also a good idea to drop getopts for a more manageable while loop that includes both short and long options on the command line to improve readability.

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.