Welcome to Wine Store, an online platform built with Django for purchasing and exploring a variety of wines.
- User Authentication: Allow users to register, login, and manage their accounts.
- Product Catalog: Browse through a wide selection of wines with detailed descriptions.
- Shopping Cart: Add wines to the cart and proceed to checkout for purchase.
- Order Management: Users can view their order history and track the status of their orders.
- Admin Panel: Administrators can manage products, orders, and users easily through the admin interface.
-
Clone the repository:
git clone [email protected]:SINEdowskY/WineStore.git
-
Navigate to the project directory:
cd WineStore
-
Create a virtual environment (optional but recommended):
python3 -m venv env
-
Activate the virtual environment:
- On Windows:
env\Scripts\activate
- On macOS and Linux:
source env/bin/activate
-
Install the dependencies:
pip install -r requirements.txt
-
Run migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Open your browser and navigate to
http://localhost:8000
to access the application.
- Register/Login: Create a new account or log in with existing credentials.
- Explore Wines: Browse through the collection of wines available in the catalog.
- Add to Cart: Select wines and add them to your shopping cart.
- Checkout: Proceed to checkout, review your order, and provide necessary details for delivery.
- Manage Orders: Users can view their order history and track the status of their current orders.
- Admin Interface: Administrators can access the admin panel at
/admin
to manage products, orders, and users.
Contributions are welcome! If you have any suggestions, enhancements, or bug fixes, feel free to open an issue or create a pull request.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License.