A modern, feature-rich cloth retail shop built with Flask.
pip install -r requirements.txt
cp .env.example .env
# or manually create .env with the keys from .env.example
python init_db.py
Default Admin Credentials:
- Email:
admin@example.com- Password:
admin123
# Enable debug mode for development
set FLASK_DEBUG=1
python app.py
Visit http://127.0.0.1:5000 in your browser.
FLASK_ENV=production in your .env file.FLASK_DEBUG=0.SECRET_KEY to a random, long string.WSGI Server:
Do not use python app.py in production. Use a production server like waitress (Windows) or gunicorn (Linux).
For Windows (Waitress):
pip install waitress
waitress-serve --port=8080 --call app:create_app
database.db). For high traffic, consider PostgreSQL.instance folder and database.db are writable by the server process.static/uploads. Ensure this directory persists across deployments.