Skip to content
المشاريع

حول

موقع تجارة إلكترونية بسيط مبني باستخدام Flask

الأعمال والمالية

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Shopping Cart

A simple E-commerce website using Flask.

Dependencies

  1. Python3
  2. Flask
  3. Sqlite

How to run

  1. Set up database by running database.py (Or you can reuse existing database included in the repo)
  2. Run main.py
  3. Enter localhost:5000 in the browser

Pipenv instructions

  1. Install pipenv (python3 -m pip install --user pipenv)
  2. Install dependencies (pipenv install --dev)
  3. Setup database (pipenv run python database.py)
  4. Run the server (pipenv run python main.py)
  5. Enter localhost:5000 in the browser

Sample User

Sample credentials present in existing database: Username - [email protected] Password - sample

Running with Docker

Build the Docker image

docker build -t shopping-cart .

Run the container

docker run -p 5000:5000 shopping-cart

Visit:

http://localhost:5000

Running with Docker Compose

docker compose up --build

Visit:

http://localhost:5000

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…