This Django application offers a solution for managing business operations with an emphasis on user experience and modern web technologies. It integrates Bootstrap for front-end design and employs Ajax for dynamic sales creation. The application features models for user profiles, vendors, customers, and transactions, including billing, invoicing, and inventory management.
- Python installed: Ensure Python is installed on your system. You can download it from the official Python website.
- Understand Python and Django: Basic understanding of Python programming and familiarity with Django web framework.
Follow these steps to install the necessary dependencies and set up the application:
git clone https://github.com/munuhee/sales-and-inventory-management.git
cd sales-and-inventory-management
-
Build the Docker Image
docker build -t sales-and-inventory-management:1.0 .
-
Run the Docker Container
docker run -d -p 8000:8000 sales-and-inventory-management:1.0
-
Set Up the Virtual Environment
python3 -m venv venv source venv/bin/activate
-
Install Dependencies
pip install -r requirements.txt
-
Apply Migrations and Run the Server
python manage.py migrate python manage.py runserver
-
Set Up the Virtual Environment
python -m venv venv venv\Scripts\activate
-
Install Dependencies
pip install -r requirements.txt
-
Apply Migrations and Run the Server
python manage.py migrate python manage.py runserver
-
Happy coding! π