https://github.com/codedrinker/deploy-shell
Maven Tomcat Deploy shell, Integrate git pull, Flyway migration.
https://github.com/codedrinker/deploy-shell
Last synced: 4 months ago
JSON representation
Maven Tomcat Deploy shell, Integrate git pull, Flyway migration.
- Host: GitHub
- URL: https://github.com/codedrinker/deploy-shell
- Owner: codedrinker
- Created: 2016-11-09T14:32:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-17T11:31:38.000Z (over 8 years ago)
- Last Synced: 2025-01-07T14:12:50.032Z (6 months ago)
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shell-script
A collection shell scripts contains compile project script, migrate script, redeploy project script, backup script etc.
Also all execptions have been handle.#Usage
You can clone repo to anywhere, and then define a shell-script home to your path.#Description
## git-pull.sh
Integrate git pull command, and return whether need update code.
```
sh git-pull.sh
```## migrate.sh
Using Flyway migration tool.
```
sh migrate.sh profile module-directory
```## mvn-package.sh
Package specific module, also no need to build any useless module.
```
sh mvn-package.sh module-name profile module-directory
```## tomcat-deploy.sh
Deploy Tomcat easily. also this shell can restart tomcat by the specific name.
```
sh tomcat-deploy.sh tomcat-home maven-target webapp-name
```## deploy-sample.sh
A sample for using `scripts`, also contains unexcepted stop execption, this sample depends on the [shell-script-web-sample](https://github.com/codedrinker/shell-script-web-sample) project.