Our project is to design and implement a ESG Management Platform, and it could simply to divide into two parts: backend and frontend.
(!Please open the terminal and execute the following commands.)
Install homebrew if you haven't installed it before.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew install mysqlDownload MySQL installer from MySQL official website.
sudo apt-get update
sudo apt-get install mysql-serverbrew services start mysqlnet start mysqlsudo systemctl start mysqlmysql -u root -p(Just use 'root' as the new password. Otherwise, you need to change settings in the COMP9900H16AAABackend-master/src/main/resources/application.yml.)
ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_password';mysql -u root -pCREATE DATABASE esg;use esg;source <path-to-repo>/COMP9900H16AAABackend-master/sql/create_table.sql;Download IntelliJ IDEA from IntelliJ IDEA official website.
For Windows users: After installing IntelliJ, simply double-click on the idea.exe file to launch the application.
Mac OS users can locate IntelliJ IDEA CE in their Applications folder and click on it to start the program.
Ubuntu users should execute the following command in their terminal to run IntelliJ IDEA
Click on the Import Project option on the Welcome Screen, or go to File | Open and select the project's root folder.
- Open the project in IntelliJ IDEA.
- Open the file COMP9900H16AAABackend-master/src/main/resources/application.yml.
- Change the password in the line 24 to the new password you set in 2.4. (If you have set the password as 'root' in 2.4, you can skip this step.)
- Right-click on the ‘./pom.xml’ file within IntelliJ, then navigate to and select ’Maven’ followed by ’Download Sources and Documentations’. Allow some time for all the downloads to complete.

- To configure the Java SDK for the project in IntelliJ
- Go to 'Settings'
- Then navigate to 'Project Settings', followed by 'Project'.
- Here, select the Java SDK 8/1.8 for the project, similar to the example shown in Figure

- To run the application, right-click on the './COMP9900H16AAABackend-master/src/main/java/com.unswesg.comp9900h16aaabackend/Comp9900H16AaaBackendApplication.java' file within IntelliJ, then navigate to and select Run.

Execute the following commands in the IDEA terminal under this project.
cd COMP9900_AAA_ESG_Frontend-main/myappgit initInstall node_modules:
npm installor
yarnScripts provided in package.json. It's safe to modify or add additional script:
npm startnpm run build