Skip to content

ucsb-cs56-webapps/ucsb-cs56-caloriecounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<<<<<<< HEAD

ucsb-cs56-caloriecounter

Provide an intuitive means to better manage your nutrition

sparkjava-01

The simplest possible SparkJava web app (Hello World)

To use

To do this Do this
run the program Type mvn exec:java. Visit the web page it indicates in the message
check that edits to the pom.xml file are valid Type mvn validate
clean up so you can recompile everything Type mvn clean
edit the source code for the app edit files in src/main/java.
Under that the directories for the package are edu/ucsb/cs56/pconrad
edit the source code for the app edit files in src/test/java.
Under that the directories for the package are edu/ucsb/cs56/pconrad
compile Type mvn compile
run junit tests Type mvn test
build the website, including javadoc Type mvn site-deploy then look in either target/site/apidocs/index.html
copy the website to /docs for publishing via github-pages Type mvn site-deploy then look for javadoc in docs/apidocs/index.html
make a jar file Type mvn package and look in target/*.jar

| run the main in the jar file | Type java -jar target/sparkjava-demo-01-1.0-jar-with-dependencies.jar | | change which main gets run by the jar | Edit the <mainClass> element in pom.xml |

7dec059f86df36d398bb6c63df1ff17cd8f1107e

About

Provide an intuitive means to better manage your nutrition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •