CAMs is a Java-based Command Line Interface (CLI) application for staff and students to manage, view and register for camps within NTU. The application will act as a centralized hub for all staff and students
Ensure you have Java 11 or above installed on your Computer. You can check by opening a command terminal and typing java -version.
These setup instructions will guide you through the process of cloning the repository, navigating to the cloned repository, compiling the project, and running the project in your terminal.
-
Open your terminal
-
Clone the repository by entering the following command:
git clone https://github.com/J0JIng/SC2002-Project.git
-
Navigate to the cloned repository by entering the following command:
cd SC2002-Project -
Compile the project by entering the following command:
javac -encoding UTF-8 -cp src -d bin src/main/CAMs.java
-
Run the project by entering the following command:
java -cp bin main.CAMs
Congratulations, you have successfully cloned, compiled, and run the CAMs Application!
If you prefer to use Eclipse as your IDE, you can also set up the project there. Here are the steps you need to follow:
-
Open Eclipse
-
Click on
File>Import>Git>Projects from Git>Clone URI -
In the
Clone URIwindow, paste the following URL:https://github.com/J0JIng/SC2002-Project.git
-
Click
Nextand follow the prompts to finish the cloning process -
Once the project is cloned, right-click on the project folder and select
Properties -
In the
Propertieswindow, click onJava Build Path>Source>Add Folder -
Select the
srcfolder from the project directory and clickOK -
Now you can run the project by right-clicking on
CAMs.javain thesrc/mainfolder and selectingRun As>Java Application
That's it! You should now have the project up and running in Eclipse.
This section contains some login credentials for users with different access levels. The full list is available in data/staff_list.csv and data/student_list.csv files. The default password is password.
User ID will be the NTU network user ID, that is the part before @ in email address
Staff:
# Staff 1
Name: Arvind
Email: ARVI@ntu.edu.sg
Faculty: NBS
# Staff 2
Name: Alexei
Email: OURIN@ntu.edu.sg
Faculty: ADMStudents:
# Student 1
Name: CHERN
Email: YCHERN@e.ntu.edu.sg
Faculty: SCSE
# Student 2
Name: KOH
Email: KOH1@e.ntu.edu.sg
Faculty: ADM
