clone this repo, go to djangoblog folder and run:
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
I will declarate them like this in a .env file, these values may change depending on your database setup
DATABASE_USER=root
DATABASE_HOST=localhost
DATABASE_ROOT_PASSWORD=""
DATABASE_NAME=djangoblog
DATABASE_PORT=3066
SECRET_KEY="django-insecure-lj*ov0b$*ip@h5-8%&hhyni%=a_rw=j1hzohj3*vn@=%)!g2#+"
API_ROUTE="http://localhost:8001"
DEBUG=True
Go to frontend folder
The api route may change depending on where it is hosted, in development by default it is like this
API_ROUTE='http://localhost:8000'
npm i
npm run build
after this go to your root folder and run
python manage.py runserver