DegreeOverview is a course definition system that aims to help course designers better plan and design university courses and enables both the lecturers and students to understand and visualize the relationships between courses and their intended learning outcome.
To populate your database with test data, run
$ cd src
$ python populate.py
The default users:
-
Default course designer
Username: testcd1
Password: 12345678
-
Default lecturer
Username: testlecturer1
Password: 12345678
-
Default student
Username: teststudent1
Password: 12345678
The default production mode uses MySQL as the backend for the database. Please make sure you have your instance of the database running. Specify your configuration in ./configurations/production.json
To spin up the production server in test mode
$ cd src
$ python run.py production
-
Clone the repository
git clone https://github.com/RapDoodle/comp3053-project.git
-
Create virtual environments (optional, but recommended)
For Anaconda users
$ conda create -n degreeoverview python=3.8.5
-
Activate the environment
To activate the virtual environment created
$ conda activate degreeoverview
-
Change directory to source folder
$ cd src
-
Install required Python packages
$ pip3 install -r requirements.txt
Please be noted that some dependencies may not be installed on Debian and Ubuntu. If an error occurred while installing
bcrypt
, run the following command$ sudo apt-get install build-essential libffi-dev python-dev
-
Spinup a development server
$ python run.py dev
In the last argument,
dev
specifies the name of the configuration. Please visit the documents on configurations under thedocs
folder for more information about the configurations.
- Group Lily (COMP3053)
Part of the code of this project is based on the open-source development framework, Mangee Flask-RESTful. The framework was developed by Bohui WU (@RapDoodle, one of our team members) and licensed under the GNU General Public License v3 (the same as this project). The complete source code of the framework can be found in https://github.com/RapDoodle/mangee-flask-restful.
The project is licensed under the GNU General Public License v3.
Copyright (c) 2021.