Django Marketplace is a simple e-commerce platform built with Django that allows users to buy and sell products. However, buyers cannot directly purchase items from sellers on the platform. Instead, buyers must send a message to the seller expressing their interest in the item and negotiate a sale through private messages.
The platform is designed to be user-friendly, with an intuitive interface that makes it easy to search for and browse items. Sellers can create listings for their products, set their own prices, and manage their inventory. Buyers can search for items by category, keyword, or seller, and can communicate with sellers directly through the platform's messaging system.
- Clone the repository:
git clone https://github.com/Ikromjon1998/django-marketplace.git
- Navigate to the project directory:
cd django-marketplace/djangoMarketplace
- Create a virtual environment:
python3 -m venv env
- Activate the virtual environment:
- On macOS or Linux:
source env/bin/activate
- On Windows:
.\env\Scripts\activate
- On macOS or Linux:
- Install pip:
- If you don't have pip installed already, you can install it using the following command:
python get-pip.py
- If you don't have pip installed already, you can install it using the following command:
- Install Django:
pip install django
- Install Python Imaging Library - Pillow:
pip install Pillow
- Make migrations:
python manage.py makemigrations
- Create the database tables by making migrations.
- Apply migrations:
python manage.py migrate
- Apply the migrations to the database.
- Run the server:
python manage.py runserver
- The project should now be running at
http://localhost:8000/
. - To view the project, open a web browser and go to
http://localhost:8000/
.
- The project should now be running at