Course System
This is the project of Group 28 for ByteCamp 2022 Winter.
Quick Start
-
Clone the project.
git clone https://github.com/Dexter1636/course_system.git
-
Download modules.
cd course_system go mod download
-
Add application config file.
Write the following code to course_system/config/application.yaml:
server: port: 8080 datasource: driverName: mysql host: <hostname> port: <port> database: <database_name> username: <username> password: <password> charset: utf8
-
Run.
go run .
Note
-
Remember to use your own branch for development.
Do this before coding:
git checkout dev git branch <your_branch_name> git checkout <your_branch_name> git push --set-upstream origin <your_branch_name>
-
Do NOT track
application.yaml
since it contains sensitive data.