An e-commerce website using the following tech stacks: Python - Django - PostgreSQL - JavaScript - Bootstrap
git clone https://github.com/erfanghorbanee/Django-Ecommerce.git
cd django-ecommerce
python3 -m venv venv
. venv/bin/activate
> py -3 -m venv venv
> venv\Scripts\activate.bat
pip3 install -r requirements.txt
for this project i used postgress, you can see the following settings below :
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'db_name',
'USER': 'db_user',
'PASSWORD': 'db_user_password',
'HOST': 'localhost',
'PORT': '',
}
}
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py test
python3 manage.py runserver
Open http://127.0.0.1:8000 in your browser.