adobong-sunog / cs50w_network

project 4 for cs50w

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 your bash profile

SECRET_KEY="the secret key from previous command"
export SECRET_KEY 

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.

About

project 4 for cs50w

License:MIT License


Languages

Language:Python 62.1%Language:HTML 26.8%Language:JavaScript 10.2%Language:CSS 0.8%