ALSO IT IS OLD AND BAD, BUT I'LL LEAVE IT UP FOR THE MEMORIES AND AS PROOF I HAVE ALWAYS BEEN A NERD :)
This is a Java project me and my friend are working on a little bit for school, but mostly for fun (this is actually just extreme overkill for a Grade 12 Computer Science Project... we're nerds). The goal is to create an environment in Java built around JTablesaw for accessing and visualizing the most recent Ontario COVID-19 data.
I mean... It's been handed in for school, but this is just the beginning....
There are known issues, bad enough to be noticable, not bad enough for me to have the energy to write about them, but noticable enough that I won't have to!
things don't work some times and are slow, ok?
Note: You need to run it in update or setup mode before it will work normally, I think... See step "Run the project"
After installing the project, you must first install the project using Maven.
Since you're on GitHub already, I'll assume at the minimum your JAVA_HOME is set properly, but just in case check that your usr/libexec/java_home
or $JAVA_HOME
point to the right directory....
export PATH=your/path/to/maven/bin:$PATH
(on my Mac, I have this in my /Users/me/.zshrc)
cd /directory/where/you/installed/Ontario-Covid-19-DAE-App
mvn clean install
mvn exec:java -Dexec.mainClass=jginfosci.covid19.dae.Environment -Dexec.args=basic
Argument Options:
- basic - loads normally with local datasets, you can still update while running
- update - updates and then loads, very slow.
- setup - updates datasets but doesn't launch the program
any time you do an update the terminal will say some stuff that makes it look like it's not working.. it is.
For me this looks like:
-
(base) superuser@Apostoloss-MacBook-Pro ~ % /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk-16.0.1.jdk/Contents/Home -
(base) superuser@Apostoloss-MacBook-Pro ~ % export PATH=/Users/superuser/apache-maven-3.8.1/bin:$PATH
OR
2.5 (base) superuser@Apostoloss-MacBook-Pro ~ % vim ~/.zshrc
and add to file:
export PATH=/Users/superuser/apache-maven-3.8.1/bin:$PATH
(base) superuser@Apostoloss-MacBook-Pro ~ %cd /Users/superuser/NetBeansProjects/Ontario-Covid-19-DAE-App
(base) superuser@Apostoloss-MacBook-Pro Ontario-Covid-19-DAE-App % mvn clean install
....a bunch of output from maven(base) superuser@Apostoloss-MacBook-Pro Ontario-Covid-19-DAE-App % mvn exec:java -Dexec.mainClass=jginfosci.covid19.dae.Environment -Dexec.args=basic
a bunch more output and then the program runs
You could also run it from your IDE if you aren't cool.
Apostolos Paul Geyer
Nathan Johnson
Everyone who has contributed to the library JTablesaw, which is the backbone of this project.
Ontario Data Catalogue
IntelliHealth Ontario
Statistics Canada