Skip to content

adobong-sunog/cs50w_mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS50W Project 3 - Mail

Status: completed & submitted (Pass)

Description

Setup

Python and Git must be installed on your computer.
Creating a virtual environment is optional, but it is usually better to do so if you know how.

Clone this repository

git clone https://github.com/adobong-sunog/cs50w_mail/
cd cs50w_mail

Install any required dependencies

pip install -r requirements.txt

Create a secret key

python -c "import secrets; print(secrets.token_urlsafe())"

Add the secret key to project3/settings.py

SECRET_KEY='the secret key from previous command (include the single quotation marks)'

Initialize the database

python manage.py makemigrations mail
python manage.py migrate

Run the development server

python manage.py runserver

Note on academic honesty

If you're taking CS50W, either through Harvard Extension School, Harvard Summer School or OpenCourseWare, please do not blindly copy paste my code. You are putting yourself at a huge risk for getting excluded from the course by the staff themselves as they grade each project thoroughly. This is a course offered by Harvard, and you will be put up to their standard.