Skip to content

xistadi/BookStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

132 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookStore

made-with-django website Open Source? Yes! saythanks

«BookStore» - is an electronic store, intended for selling paper books on-line via the Internet. The development process included writing a backend web application using the Django framework (with additional libraries), a frontend using HTML/CSS/Bootstrap/Javascript.

gif

Features

  • Groups of users with permissions(Admin, Managers, Customers)
  • Administrative portal
  • Built-in administrative portal
  • Shopping cart
  • Order
  • Promotions
  • Product rating
  • Reviews
  • User profiles
  • CRUD(l) for each of the listed
  • The application is covered by Unit tests

How to start

  1. Clone project from github
    git clone https://github.com/xistadi/BookStore
    
  2. Create venv
    #Linux/Mac
    python3 -m venv env
    #Win cmd
    python -m venv env
  3. Activate venv
  4. Install requirements
    pip install -r requirements.txt
    
  5. Create folder media and static_dev
  6. Go to src/proj/
    • Create my_local_setting.py
      STATIC_ROOT = '*Here is your direction to project* \\static'
      MEDIA_ROOT = '*Here is your direction to project* \\media'
      STATICFILES_DIRS = (
      	'*Here is your direction to project* \\static_dev',
      )
      EMAIL_HOST_USER = 'Your email'
      EMAIL_HOST_PASSWORD = 'Your email password'
      
    • Create secrets.py
      SECRET_KEY = 'wa5dgjxynoz1iygl99-q@gl#-*%@hc%k4d7e#xqukg=5ql)q'
      
  7. Go to src/
    • Make migrations
      python manage.py migrate
      
    • Run server
      python manage.py runserver
      
  8. Open your web browser http://127.0.0.1:8000

How to start unit test

  1. Go to src/
    python manage.py test .
    
  2. You'r great

Useful links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors