Giter Site home page Giter Site logo

arsalan9997 / django-online-shop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erfanfs10/django-online-shop

1.0 0.0 0.0 2.31 MB

Simulation of a computer component online shop # please read the README.md for more information

JavaScript 39.57% Python 15.68% CSS 36.87% HTML 7.89%

django-online-shop's Introduction

django-E-commerce

Simulation of a computer component online shop

Features used in this project :

  • Add items in your basket
  • Add order
  • Manage your addresses and personal information
  • Rate and add comment to purchased products
  • Used Redis as cache backend
  • Used Session Framework
  • update user basket after login or register via signals
  • Send a Welcome Email using Celey

How to run the project?

1:

  • install requirements.txt with command : pip install -r requirements.txt

2:

  • install Redis and make sure it's active and running

3:

  • Create a file with the name local_setting.py beside setting.py and add the following code:

  • SECRET_KEY = 'YOUR SECRET KEY'

  • DEBUG = True # if you want to use this project in production change the value to False.

  • EMAIL = "YOUR EMAIL ADDRESS"

  • APP_PASSWORD = "YOUR APP PASSWORD"

  • ALLOWED_HOSTS = ['*'] # if you want to use this project in production replace your domain in that list.

4:

  • Run python manage.py migrate
  • Run python manage.py createsuperuser

5:

  • run python manage.py runserver

6:

  • celery -A E_commerce worker -Q Eemail -l INFO # if you don't run this, emails will not send to the users.

ENJOY THE PROJECT :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.