프로젝트
GitHub에서 보기
HarshShah1997/Shopping-Cart
소개
Flask로 만든 간단한 전자상거래 웹사이트
비즈니스 및 금융측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
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
관련 프로젝트 살펴보기
불러오는 중…