Skip to content
Proyek

Tentang

Situs e-commerce sederhana yang dibuat dengan Flask

Bisnis dan keuangan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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

Jelajahi proyek terkait

Memuat…