Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 726 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 726 Bytes

Full-blog-with-django

This repository contains the most complete code required for the blog written by Django.

Install

Create Virtual Environment:

  • Unix/MacOS: python -m venv .env
  • Windows: py -m venv myworld

Activate virtual environment:

  • Unix/MacOS: source myworld/bin/activate
  • Windows: myworld\Scripts\activate.bat

Install requirements

  • pip install -r requirements.txt

Run project

In Windows, put Python instead of Python3

  • cd src

  • python3 manage.py migrate

  • python3 manage.py createsuperuser

  • python3 manage.py makemigrations

  • python3 manage.py migrate

  • python3 manage.py runserver:port(default is 8000)