- User authentication (Sign up, login, logout)
- Product listing with categories
- Shopping cart functionality
- Order management
- Payment integration
- Admin dashboard for product management
-
Clone the repository:
git clone https://github.com/MaryaRezvani/E-commerce.git cd E-commerce
-
Create a virtual environment:
python -m venv env source env/bin/activate
-
Install the required packages:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Create a superuser for the admin dashboard:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Access the application at
http://127.0.0.1:8000
.
To connect to Redis and run commands through the CLI, use the following command:
sudo systemctl enable redis
sudo systemctl start redis
sudo systemctl status redis
redis-cli
If you want to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes and commit them.
- Push to your branch.
- Create a pull request.