Data Mining Grader
- Linux distribution for OS (these instructions may work on other OS, but tested on Redhat Linux, AWS AMI)
- Python v3.7.0 (other version may work, but this is the version we used, no earlier than 3.5 is recommended)
- Postgres version 8 or later from Postgres' website (https://www.postgresql.org/)
- Latest version Docker and docker-compose installed from Docker's website (https://www.docker.com/)
- The source code from this repo! Clone from
<insert public repo link here>
Run the bash script located at /dmgrader/deploy.sh
sh /dmgrader/deploy.sh [-Attributes]
-bbuild/rebuild everythings and start the project.-sstart project without any rebuild.-mmaintenance mode, do anything you like, e.g. command some docker commands.-hecho the help instraction.[nothing]default mode, start the project. If any images/containers required, build them.
- Both the
settings.pyfile and thedocker-compose.ymlfile must match for database configuration.- The
settings.pyfile should be located at path/dmgrader/gradingwebapp/gmugrader/gmugrader/settings.py - The
docker-compose.ymlfile should be located at path/dmgrader/gradingwebapp/gmugrader/dockerfiles/docker-compose.yml
- The
- The Postgres database port should default to port
5432