Status: completed & submitted (Pass)
- Project specification
- Django is used as web framework and SQLite as the database.
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
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.