gledi / shop

SDA PyTRAL4 - Django Shop Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django SHOP Example

SDA Python Tirana AL 4 django app sample

Setup

Clone the repository

git clone https://github.com/gledi/shop.git

Create a virtual environment

python -m venv venv

Active the virtual environment

On Linux/MacOS

. venv/bin/active

On Windows when using powershell

. venv/Scripts/activate

After activating the virtual environment install the dependencies

python -m pip install -r requirements.txt

Run the migrations

python manage.py migrate

Create a superuser if you want to access the admin panel

python manage.py createsuperuser

Run the following commands to create the categories and some fake products

python manage.py createcategories
python manage.py createfakeproducts 100

Run the development server

python manage.py runserver

In your browser visit http://localhost:8000 to view the site

About

SDA PyTRAL4 - Django Shop Project


Languages

Language:Python 70.7%Language:HTML 17.8%Language:CSS 11.4%Language:Procfile 0.0%