Created
August 12, 2013 06:03
-
-
Save fabianbraun/6208552 to your computer and use it in GitHub Desktop.
Polopoly commands / aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check running processes | |
alias psjava='ps auxww | grep java' | |
alias pstomcat='ps auxww | grep tc-' | |
# describe all maven plugins | |
alias mvn-describe='mvn help:describe -Dplugin=nzz' | |
# basic installation commands | |
alias mvn-install='mvn clean install -Dauto-deploy=true' | |
alias build-pp='mvn clean install -pl modules/polopoly -am -Dauto-deploy=true' | |
alias build-online='mvn clean install -pl modules/applications/app-nzz-online -am -Dauto-deploy=true' | |
alias deploy-pp='nzzctl pp-repack;nzzctl nzz:deploy-polopoly-war' | |
alias deploy-online='nzzctl nzz:deploy-online' | |
alias import-pp='mvn nzz:import-tmpl-all' | |
alias pp-reconfigure='nzzctl nzz:copy-configuration;nzzctl pp-reconfigure' | |
alias pp-import-tmpl-all='nzzctl nzz:import-tmpl-all' | |
# start / stop scripts | |
alias combo-start='nzzctl combo-start' | |
alias combo-stop='nzzctl combo-stop' | |
alias tc-start='nzzctl tc-start' | |
alias tc-stop='nzzctl tc-stop' | |
alias tc-clean='nzzctl tc-clean' | |
alias tc-debug='nzzctl tc-debug' | |
alias tc-log='nzzctl tc-log' | |
alias tc-clr='nzzctl tc-clrlog' | |
alias tc-restart='nzzctl tc-stop;sleep 1;nzzctl tc-clean;sleep 1;nzzctl tc-start' | |
alias apache-start='sudo service nginx stop; sudo service apache2 restart' | |
alias nginx-start='sudo service apache2 stop; sudo service nginx restart' | |
alias pp-backup='nzzctl pp-backup' | |
alias pp-check='ps -ef | grep "jvm/java" | cut -c "-500"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment