"Make grading assignments as easy as ABC!"
-
Clone the repo and
cd
into the repo -
Use
.json.config.example
to create ajson.config
file under the/project
directory with your credentials such as:{ "SECRET_KEY": "DFJKdslkjfo23jrfadsjka20jr", "DEBUG": "True", "EMAIL_HOST": "smtp.FAKE_SMTP_HOST.com", "EMAIL_PORT": "587", "EMAIL_HOST_USER": "FAKE_SMTP_USER", "EMAIL_HOST_PASSWORD": "FAKE_SMTP_PASSWORD", "EMAIL_USE_TLS": "True", "DEFAULT_FROM_EMAIL": "FAKE_SMTP_USER@FAKE_SMTP_HOST.com", "GS_BUCKET_NAME": "FAKE_BUCKET_NAME", "GS_CREDENTIALS": "/code/project/key.json", "MOSS_ID": "987654321" }
- SECRET_KEY is a shared secret used by Django for encrypting and decrypting information
- DEBUG is a Django environment variable that enables certain debug features
-
Commands:
docker-compose run web /bin/bash
will start a Bash shell inside a Docker container.- Inside the
/project
directorypython manage.py makemigrations codemark
will make necessary Django model changes for the app. - Inside the
/project
directorypython manage.py migrate
will create the Django database.
- Inside the
docker-compose up --build
will launch the website at the URL localhost:8000