A Multi Vendor E-com shop build with Django REST Framework(DRF).
- Python 3.6+
- pip
git clone git@github.com:Masleap-INC/BKPE-Official.git
cd BKPE-Official
py -m venv env
env\Scripts\activate
pip install -r requirements.txt
For SQLite3:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}
For MongoDB Atlas:
DATABASES = {
'default': {
'ENGINE': 'djongo',
'NAME': 'DB Name',
'ENFORCE_SCHEMA': False,
'CLIENT': {
'host': 'host url'
}
}
}
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
python manage.py createsuperuser
python manage.py runserver