Projetos
Ver no GitHub
HarshShah1997/Shopping-Cart
Sobre
Um site de comércio eletrônico simples feito com Flask
Negócios e finançasCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalShopping Cart
A simple E-commerce website using Flask.
Dependencies
- Python3
- Flask
- Sqlite
How to run
- Set up database by running database.py (Or you can reuse existing database included in the repo)
- Run main.py
- Enter localhost:5000 in the browser
Pipenv instructions
- Install pipenv (python3 -m pip install --user pipenv)
- Install dependencies (pipenv install --dev)
- Setup database (pipenv run python database.py)
- Run the server (pipenv run python main.py)
- 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
Explore projetos relacionados
Carregando…