Cal State Mobile - mobile website for the Cal State university students.
master
branch should always be stable and deployable- When you are working any feature, please branch out from latest commit on
master
branch, create a pull-request when you are done with implementation- Always do a
git fetch && git pull origin master
when you start branch from master
- Always do a
- Before you start coding, write down the
test cases
for the feature, and implement test cases undertest/java
so that you can test your codes when you are done. This will help us to create more reliable code - When you open a pull request, be descriptive on what you have done. Assign a person to review your code before you merge your code to the master
- Document your code! Keep your code maintable, you are not the only one to look at it.
- Under Eclipse, go to
file>import
selectExisting Maven Project
- Select the
CS-537-CSM
folder for the Root Directory, and click finish - To run the project, right click on the project
run as
and selectmaven build
- In the dialog, type in
tomcat:run
in the goal - Open any browser of your choice, type in the following in the address
http://localhost:8080/csm/rest/hello/user
- Download maven if you are using windows.
- Execute
mvn tomcat:run
at the root directory of this project (CS-537-CSM) - Open browser and go to
http://localhost:8080/csm
to check if tomcat is running
.
โโโ pom.xml
โโโ README.md
โโโ src // where our source code goes
ย ย โโโ main
ย ย โย ย โโโ java // Java source codes
ย ย โย ย โโโ resources
ย ย โย ย โโโ webapp // front end stuff
ย ย โย ย โโโ bower_components // bower componetns / front end libraries
ย ย โย ย โโโ css // css files
ย ย โย ย โโโ img // images
ย ย โย ย โโโ index.html // home page
ย ย โย ย โโโ js // angularjs logic
ย ย โย ย โโโ lib // extra libraries
ย ย โย ย โโโ partials // partial pages
ย ย โย ย โโโ test // karma test
ย ย โย ย โโโ WEB-INF
ย ย โโโ scripts // sql scripts
ย ย โย ย โโโ create-csm.sql
ย ย โย ย โโโ drop-csm.sql
ย ย โโโ test // JUnit Test
ย ย โโโ java
ย ย โย ย โโโ org
ย ย โโโ resources