For example, ./deploy.sh stu will generate the file courseplanners.war (as opposed to courseplanner.war which has no s before the .war) and scp that to the server. I can then visit the version I deployed at 138.197.6.26/courseplanners.com to see the effects of my changes.
We can now all use our names as argument to deploy.sh to name the deployed .war files and therefore to be able to work on the server side java at the same time without conflict deploying to the same server.
Also, to deploy the official version (courseplanner.war), use
$ ./deploy.sh prod
As of this PR being accepted, running ./deploy.sh with no args will fail and show an error message. This PR resolves #29
now, you must run
deploy.sh
usingFor example,
./deploy.sh stu
will generate the filecourseplanners.war
(as opposed tocourseplanner.war
which has nos
before the.war
) andscp
that to the server. I can then visit the version I deployed at138.197.6.26/courseplanners.com
to see the effects of my changes.We can now all use our names as argument to
deploy.sh
to name the deployed.war
files and therefore to be able to work on the server side java at the same time without conflict deploying to the same server.Also, to deploy the official version (
courseplanner.war
), useAs of this PR being accepted, running
./deploy.sh
with no args will fail and show an error message. This PR resolves #29