This repository contains the most complete code required for the blog written by Django.
- Unix/MacOS:
python -m venv .env
- Windows:
py -m venv myworld
- Unix/MacOS:
source myworld/bin/activate
- Windows:
myworld\Scripts\activate.bat
pip install -r requirements.txt
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)