*ARCHIVE* A script for updating service/application.
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.
Maxim Likhachev 3cfe92727c Added requirements file 5 years ago
COPYING Added GPLv3 license and CoC 5 years ago
CoC.md Added GPLv3 license and CoC 5 years ago
README.md Extended Readme 5 years ago
config.ini Update config.ini 6 years ago
fabfile.py pep8 5 years ago
requirements.txt Added requirements file 5 years ago

README.md

service-updater - Script for updating service/application

Description

This scenario updates the Java application on remote server with creating full backup of configuration files and database.

NB: I would now consider this scenario as an example of the implementation of a software update process, but in practice I would use configuration management systems and deployment tools.

License

GNU General Public License v3.

Requirements

# install python-dev libffi-dev
# pip install configparser
# pip install fabric

Usage

$ fab <command>

backup_db         Back up distributive
backup_db_copy    Backround upload of backup to remote server
backup_files      Back up files
copy_config       Copy configuration files
copy_custom_conf  Upload custom.conf to remote server
copy_libs         Copy libs
diff_config       Comparison of configuration files
make_dist         Make distributive (play dist)
start             Start service
stop              Stop service
update            Update service
upload_dist       Upload distributive to remote server