Create a postgres DB with the following username and password: (strtpadmin, strtpadmin)
- Create virtual environment:
virtualenv venv
- Install requirements:
pip install -r requirements.txt
- Activate virutal environment:
source venv/bin/activate
- Create DB:
python3 manage.py makemigrations vendor core cart product order
python3 manage.py migrate
- Run migrations:
python3 manage.py makemigrations
python3 manage.py migrate
- Run server:
python3 manage.py runserver
For development, git-flow workflow is used
This repository is a part of a video tutorial on my YouTube channel: Code With Stein