To use, you need to get firebase credentials in a file called credentials.json
generated from https://cloud.google.com/iam/. Call you file exactly credentials.json because that is in the .gitignore file.
Then run setup.sh before you run the program. It will read the credentials from the json file and store in the enviroment variable FIREBASE_JSON.
- javadocs
- web page generated by Maven (NOT THE WEB APP). This is simply documentation automatically generated by Maven, not the actual running web app.
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
|