Browse Source

Extended readme file

master
Maxim Likhachev 6 years ago
parent
commit
26b9ba7faf
  1. 24
      README.md

24
README.md

@ -1,19 +1,20 @@ @@ -1,19 +1,20 @@
**service-updater** - Script for upgrading java/play application from git
**java-app-updater** - Script for upgrading java/play application from git repository
## Description
# Description
Scenario upgrade java/play application in production directory
This script upgrades java/play application.
## Requirements
**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.
CentOS: yum -y install python-pip
Debian: apt-get install python-pip
# License
pip install configparser
[GNU General Public License v3.](https://www.gnu.org/licenses/gpl-3.0.html)
## Usage
# Usage
service.py [service] <start|stop|restart|build|update|upgrade>
service.py [service] <start|stop|restart|build|update|upgrade>
start - Start service
stop - Stop service
@ -22,6 +23,7 @@ service.py [service] <start|stop|restart|build|update|upgrade> @@ -22,6 +23,7 @@ service.py [service] <start|stop|restart|build|update|upgrade>
update - Update current service from repository
upgrade - Update developing service from repository
To build a specific service you need to pass a parameter [service]:
./service.py application build all
To build the specific service you need to pass a parameter [service]:
$ service.py application build all

Loading…
Cancel
Save