项目
在 GitHub 查看
HarshShah1997/Shopping-Cart
关于
使用 Flask 构建的简易电子商务网站
商业与金融实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Shopping 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
探索相关项目
加载中…