A java application. The CS@SC static website (WordPress) is NOT on this repository.
Main branch is the main branch, not the master branch. Keep main branch clean and up to date. This is the branch that is deployed to the production server.
- Clone the repo.
- Switch to
dev
branch. - Checkout a new branch from the
dev
branch. Use prefixft-
for new features, andhotfix-
for fixes. - Develop on your local machine. How to set up your local environment is detailed in the Wiki of this repository.
- Test on local machine. When everything looks good on local machine, get ready for deployment. Follow the steps listed out in #1 to create a
.war
file. - SSH or SFTP into the dev server (test.csatsc.com).
- Navigate to
/opt/tomcat/webapps
and upload the.war
file. Wait a few seconds to fully deploy. - Test at test.csatsc.com. Double check everything. If all looks good, go back to GitHub and make a Pull Request to the
dev
branch. - When Pull Request is accepted, it's ready for deployment to production server! SSH or SFTP into the prod server (summercamp.usc.edu).
- Navigate to
/opt/tomcat/webapps
and upload the.war
file. Wait a few seconds to fully deploy. - Test at summercamp.usc.edu. Double check everything. If all looks good, go back to GitHub and make a Pull Request to the
main
branch. - Review and accept Pull Request. Main branch is now up to date. Done!