Skip to content

adobong-sunog/cs50w_network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS50W Project 4 - Network

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_network/
cd cs50w_network

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 project4/settings.py

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

Initialize the database

python manage.py makemigrations network
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.