Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 884 Bytes

readme.md

File metadata and controls

51 lines (30 loc) · 884 Bytes

Online Shop

An online shopping site

Getting Started

python version 3.11.0

git clone https://github.com/Dominic2000code/d4bye-online-shop.git

python -m venv venv

source venv/bin/activate

pip install -r requirements.txt

python manage.py migrate

python manage.py createsuperuser

python manage.py runserver

Celery and rabbitMQ

docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:management

celery -A myshop worker -l info

Redis

docker run -it --rm --name redis -p 6379:6379 redis

stripe setup

brew install stripe/stripe-cli/stripe

stripe login

stripe listen --forward-to localhost:8000/payment/webhook/

The site will be available at http://127.0.0.1:8000/