Skip to main content

E-commerce solution

Project description

First Timers Only

🇲🇺 🇵🇰 🇳🇬 🇮🇳 🇻🇳 🇬🇭 🇬🇧

Discord CodeQL

shopcube

shopcube is an e-commerce solution for shops. Complete with

  • cart
  • wishlist
  • orders
  • upload by csv
  • charts
  • theming

If you want to contribute, go ahead, we welcome it. We follow a 100% first-timers-friendly policy. Join #shopcube on Discord if you get stuck or would just like to chat and say hi.

Powered by Shopyo, a Python web framework built on top of Flask.

Quick Start

Installation

Clone the repository and set up a virtual environment:

git clone https://github.com/shopyo/shopcube.git
cd shopcube
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools
pip install -e .

Initialisation

To set up the database and default settings without clearing existing migrations:

cd src/shopcube
shopyo initialise --no-clear-migration

Running the Application

To run the development server:

flask run

Access the application at http://127.0.0.1:5000

Login as administrator:

The dashboard is available at http://127.0.0.1:5000/dashboard/

Deployment

For production deployment, use a WSGI server like Gunicorn.

Example with Gunicorn

gunicorn --bind 0.0.0.0:8000 wsgi:application

Ensure you have a config.json in your execution directory. You can copy the demo config:

cp src/shopcube/config_demo.json config.json

Development

Running Tests

cd src/shopcube
python -m pytest

Useful Commands

flask flight-info

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shopcube-5.0.0.tar.gz (8.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shopcube-5.0.0-py3-none-any.whl (9.0 MB view details)

Uploaded Python 3

File details

Details for the file shopcube-5.0.0.tar.gz.

File metadata

  • Download URL: shopcube-5.0.0.tar.gz
  • Upload date:
  • Size: 8.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for shopcube-5.0.0.tar.gz
Algorithm Hash digest
SHA256 c5d4a117dd7a2eb1c017509f9ce7b9619a9d2fc0350000a7e64626db218e991d
MD5 24c6cb69704b2bdbae75c2807ac45eff
BLAKE2b-256 52deabcfbc4cfd6d68c45397d2e68fabbac9a4118788641aa441507d86669d38

See more details on using hashes here.

File details

Details for the file shopcube-5.0.0-py3-none-any.whl.

File metadata

  • Download URL: shopcube-5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for shopcube-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c99817fc38a28e88a2176515959e1606e82844cd15877d4c03077b23e70231a3
MD5 c2ff9a73b0cc1b9a3ad372480a5e43ec
BLAKE2b-256 4841e007867739852c591433f8236b783bbf90304a946da78cbc2d493abf360f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page