Sign inSign up

butter3126/elibrary

By butter3126

•Updated over 5 years ago

Image
0

2.5K

butter3126/elibrary repository overview

⁠eLibrary

Online book store project. Visit it eLibrary⁠.

⁠Features

  • Register/Login through (OAuth) Facebook, Gmail account
  • Search/Sort/Collect books
  • Payment flow (Braintree(SandBox))
  • I18n supported (en / ja / zh-tw)

⁠Struct Sketch Map

image

⁠Start Project

  • Environment Preparation
pip3 install -r requirements.txt

python3 manage.py migrate

python3 manage.py collectstatic
  • Start Server

    • Run on LOACL:
    python3 manage.py runserver
    
    • Run on PROD:
    gunicorn --timeout=30 --workers=4 eLibrary.wsgi:application
    

⁠Test Project

  • Unittest
python3 manage.py test
  • Integration Test

    • Normal User Account

      • username: test_guest
      • password: test_guest
    • Braintree Test Credit Card

      • card number: 4111 1111 1111 1111
      • expiration date: 02/22

Tag summary

Content type

Image

Digest

Size

460.1 MB

Last updated

over 5 years ago

docker pull butter3126/elibrary