Skip to content
Projets

À propos

Un site de commerce en ligne simple créé avec Flask

Gestion et finance

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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

Explorer des projets similaires

Chargement…