This course selection system project is a final project for the database course at Sun Yat sen University.
- If you want to deploy this project locally, you need to first install the MySQL database and set the account name and password to
root
and123456
. Then create a databasedatabase_hw
, and executecourse-system-mysql.sql
in the directorydeploy
to generate the corresponding database table.
- Run
java -jar course-system-0.0.1-SNAPSHOT.jar
on your server. This file is also located in the directorydeploy
.
- Place the
dist
folder under the deploy folder in thenginx/html
folder and ensure that the Nginx server is running. Then modify the configuration filenginx/conf/nginx.conf
to configure your preferred access IP and port, but the backend interface must be configured as8085
.
Finally you can access the web application course-system.