stumash / CoursePlanner

http://conucourseplanner.online
MIT License
5 stars 3 forks source link

Feature multiple dev environments 29 #30

Closed stumash closed 7 years ago

stumash commented 7 years ago

now, you must run deploy.sh using

$ ./deploy.sh <your_name>

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