mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-21 08:25:00 -05:00
changes the host config to be in the deploy directory don't need it for install, also adds a make for the password files
This commit is contained in:
parent
77db4f4f2d
commit
b3e71b26fd
1
build/compile-java
Executable file
1
build/compile-java
Executable file
@ -0,0 +1 @@
|
||||
cd ../java && ./build-java-projects
|
@ -1,6 +1,6 @@
|
||||
if [ -z "$1" ]; then echo "Must supply name"; exit 0; fi
|
||||
|
||||
source ../config.hosts
|
||||
source ./config.hosts
|
||||
server=$M_HOST_DEV
|
||||
|
||||
echo stopping...
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
source ../config.hosts
|
||||
source ./config.hosts
|
||||
server=$M_HOST_DEV
|
||||
|
||||
echo restarting...
|
||||
|
@ -1,6 +1,6 @@
|
||||
if [ -z "$1" ]; then echo "Must supply name"; exit 0; fi
|
||||
|
||||
source ../config.hosts
|
||||
source ./config.hosts
|
||||
server=$M_HOST_DEV
|
||||
|
||||
ssh $1@$server "tail -n 100 -f run.log"
|
||||
|
@ -1,2 +1,2 @@
|
||||
rsync -avL --exclude="WEB-INF" --delete ../gwt/war/ tprepscius@red:www/
|
||||
rsync -avL --exclude="WEB-INF" --delete ../gwt/war/ red:www/
|
||||
|
||||
|
2
deploy/host.config
Normal file
2
deploy/host.config
Normal file
@ -0,0 +1,2 @@
|
||||
M_HOST_PROD="your-prod"
|
||||
M_HOST_DEV="ec2-54-234-177-43.compute-1.amazonaws.com"
|
@ -1,6 +1,6 @@
|
||||
if [ -z "$1" ]; then echo "Must supply name"; exit 0; fi
|
||||
|
||||
source ../config.hosts
|
||||
source ./config.hosts
|
||||
server=$M_HOST_PROD
|
||||
|
||||
echo stopping...
|
||||
|
@ -1,6 +1,6 @@
|
||||
if [ -z "$1" ]; then echo "Must supply name"; exit 0; fi
|
||||
|
||||
source ../config.hosts
|
||||
source ./config.hosts
|
||||
server=$M_HOST_PROD
|
||||
|
||||
echo stopping...
|
||||
|
@ -1,6 +1,6 @@
|
||||
if [ -z "$1" ]; then echo "Must supply name"; exit 0; fi
|
||||
|
||||
source ../config.hosts
|
||||
source ./config.hosts
|
||||
server=$M_HOST_PROD
|
||||
|
||||
echo stopping...
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
source ../config.hosts
|
||||
source ./config.hosts
|
||||
server=$M_HOST_PROD
|
||||
|
||||
echo restarting...
|
||||
|
@ -1,5 +1,6 @@
|
||||
if [ -z "$1" ]; then echo "Must supply name"; exit 0; fi
|
||||
|
||||
server="blue"
|
||||
source ./hosts.config
|
||||
server=$M_HOST_PROD
|
||||
|
||||
ssh $1@$server "tail -n 100 -f run.log"
|
||||
|
@ -1,3 +0,0 @@
|
||||
M_ROOT="ubuntu"
|
||||
M_HOST_PROD="your-prod-host"
|
||||
M_HOST_DEV="your-dev-host"
|
8
passwords/make
Executable file
8
passwords/make
Executable file
@ -0,0 +1,8 @@
|
||||
echo `./make-single-password` > captcha
|
||||
echo `./make-single-password` > james
|
||||
echo `./make-single-password` > mail
|
||||
echo `./make-single-password` > mail-pbe
|
||||
echo `./make-single-password` > mail_extra
|
||||
echo `./make-single-password` > push-certificate
|
||||
|
||||
|
2
passwords/make-single-password
Executable file
2
passwords/make-single-password
Executable file
@ -0,0 +1,2 @@
|
||||
LC_CTYPE=C tr -dc A-Za-z0-9_\!\@\#\$\%\^\&\*\+ < /dev/urandom | fold -w 12| head -n 4 | grep -i '[!@#$%^&*()_+{}|:<>?=]' | head -n 1
|
||||
|
Loading…
Reference in New Issue
Block a user