documentation
This commit is contained in:
parent
51d06c2bd7
commit
5366c6ba6d
5
build.sh
5
build.sh
@ -1,6 +1,10 @@
|
|||||||
|
#local dev folder location of the server source files
|
||||||
SERVER_DIR=~/p/SelfSurvey-server
|
SERVER_DIR=~/p/SelfSurvey-server
|
||||||
|
#local dev folder loation of the front end source files
|
||||||
FE_DIR=~/p/SelfSurvey-FE
|
FE_DIR=~/p/SelfSurvey-FE
|
||||||
|
#local folder location of this repo
|
||||||
CONFIG_DIR=~/p/selfsurvey-config
|
CONFIG_DIR=~/p/selfsurvey-config
|
||||||
|
#the public http address of the build
|
||||||
SERVER_PUBLIC_ADDR=survey.austinwhoover.com
|
SERVER_PUBLIC_ADDR=survey.austinwhoover.com
|
||||||
|
|
||||||
# make build folder structure
|
# make build folder structure
|
||||||
@ -22,6 +26,7 @@ mvn clean package
|
|||||||
cp $SERVER_DIR/target/self-survey.war $CONFIG_DIR/build/ROOT.war
|
cp $SERVER_DIR/target/self-survey.war $CONFIG_DIR/build/ROOT.war
|
||||||
cp $CONFIG_DIR/docker-compose.yml $CONFIG_DIR/build/docker-compose.yml
|
cp $CONFIG_DIR/docker-compose.yml $CONFIG_DIR/build/docker-compose.yml
|
||||||
|
|
||||||
|
#instructions
|
||||||
echo "COMPLETED!"
|
echo "COMPLETED!"
|
||||||
echo "docker-compose.yml should be straightforward"
|
echo "docker-compose.yml should be straightforward"
|
||||||
echo "ROOT.war goes in <docker folder>/webapps/"
|
echo "ROOT.war goes in <docker folder>/webapps/"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user