E-Commerce Website Using Cartidge

First of all, install cartidge using following commands,

1.pip install -U cartridge

This command will install cartidge in your system.

2.mezzanine-project -a cartridge project_name

By executing this command, one project folder will be created in your current directory.

3.cd project_name

Go to your project directory

4.python manage.py createdb --noinput

It will create your new database.

5.python manage.py runserver

Run the web server

Note: If you are getting error like 'no module named sanitizer' while running server, then run the following command and then try to run web server again.

pip install --upgrade bleach

Now, we have successfully created and run a cartridge e-commerce website.

Run the following command to create superuser,

 python manage.py createsuperuser

Now, you can access admin panel to track your orders and products.

Github link for sample project: https://github.com/akash1551/ecommerce_site

results matching ""

    No results matching ""