Skip to content

Latest commit

 

History

History
40 lines (36 loc) · 1.5 KB

README.md

File metadata and controls

40 lines (36 loc) · 1.5 KB

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.