Execution Steps:
-
Unzip the file I uploaded on Canvas, and the get in the Task1 folder.
cd {{YOUR PATH}}/Zhimin_Wang_CS7311_Programming_HW1/Task1
-
Edit the application.yml file to enter your MongoDB information.
spring: data: mongodb: host: 127.0.0.1 port: 27017 database: homework1 username: admin password: admin authentication-database: admin logging: level: org.springframework.data.mongodb.core: INFO taskName: task2
-
Put your .csv files in file.
-
Execute the command at the current path:
java -jar **DatabaseProgramHomework1-0.0.1-SNAPSHOT.jar**
-
The program will exit automatically after execution, and then you can go to the output folder to view the output files.
-
To execution the Task2, switch the directory to Task2, then the steps are the same as above.